[Dctrl-tools-devel] dctrl-tools-experimental: GNUmakefile:
miscellaneous fixes
Antti-Juhani Kaijanaho
ajk at debian.org
Sun Apr 8 16:01:23 UTC 2007
Sun Apr 8 18:59:31 EEST 2007 Antti-Juhani Kaijanaho <ajk at debian.org>
* GNUmakefile: miscellaneous fixes
diff -rN -u old-dctrl-tools-experimental/GNUmakefile new-dctrl-tools-experimental/GNUmakefile
--- old-dctrl-tools-experimental/GNUmakefile 2007-04-08 19:01:22.000000000 +0300
+++ new-dctrl-tools-experimental/GNUmakefile 2007-04-08 19:01:22.000000000 +0300
@@ -24,6 +24,8 @@
$(wildcard sort-dctrl/*.c) \
$(wildcard tbl-dctrl/*.c)
+obj = $(src:.c=.o)
+
exe = grep-dctrl/grep-dctrl \
sort-dctrl/sort-dctrl \
tbl-dctrl/tbl-dctrl
@@ -55,7 +57,7 @@
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
%.d: %.c
- $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ $(CC) -M $(CFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
@@ -97,7 +99,7 @@
fsaf.test : fsaf.test.o msg.o
-test : all
+test : all-no-mo
./tester.sh
clean :
More information about the Dctrl-tools-devel
mailing list