commit 86a14cd5141d5665b1a3f3e3ba002baf83b7b954
parent 4b875362ed16ae36be78d9bb94f1c5ba172b71fe
Author: ukai <ukai>
Date: Mon, 8 Dec 2003 16:15:17 +0000
[w3m-dev 04022] $^
* Makefile.in (DEFUNS): added
funcname.tab: don't use $^
* w3mimg/Makefile.in (w3mimg.a): don't use $^
From: YONETANI Tomokazu <qhwt@myrealbox.com>
Diffstat:
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,10 @@
+2003-12-09 YONETANI Tomokazu <qhwt@myrealbox.com>
+
+ * [w3m-dev 04022] $^
+ * Makefile.in (DEFUNS): added
+ funcname.tab: don't use $^
+ * w3mimg/Makefile.in (w3mimg.a): don't use $^
+
2003-12-09 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 04021] Deeply nested table
diff --git a/Makefile.in b/Makefile.in
@@ -115,6 +115,7 @@ HELP_TARGET=w3mhelp.html
HELP_ALLFILES=w3mhelp-w3m_en.html w3mhelp-w3m_ja.html \
w3mhelp-lynx_en.html w3mhelp-lynx_ja.html
+DEFUNS=main.c menu.c
SCRIPTSUBDIRS= scripts
SUBDIRS = $(SCRIPTSUBDIRS) w3mimg libwc po
.PHONY: $(SUBDIRS)
@@ -139,9 +140,9 @@ keybind.o: funcname2.h
keybind_lynx.o: funcname2.h
parsetagx.o: html.c
-funcname.tab: main.c menu.c
+funcname.tab: $(DEFUNS)
(echo '#define DEFUN(x,y,z) x y';\
- sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $^) | $(CPP) - | \
+ sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $(DEFUNS)) | $(CPP) - | \
awk '$$1 ~ /^[_A-Za-z]/ { \
for (i=2;i<=NF;i++) { print $$i, $$1} \
}' > $@
diff --git a/w3mimg/Makefile.in b/w3mimg/Makefile.in
@@ -17,7 +17,7 @@ IMGOBJS=@IMGOBJS@
all: @IMGTARGETS@ w3mimg.a
w3mimg.a: $(IMGOBJS)
- $(AR) rv $@ $^
+ $(AR) rv $@ $(IMGOBJS)
$(RANLIB) $@
w3mimg.o: w3mimg.c