ascii is working
[ascii.git] / makefile
index c98ce70f99931118b7f99c8e1aa8da1749d3df7b..aa9b1e2185cc30da79d2b81f7010f0b5ac49c3dc 100644 (file)
--- a/makefile
+++ b/makefile
@@ -99,7 +99,7 @@ valgrind_%: %
 
 %.ld: %.c
        $(call TITLE, "Building $@")
-       echo ${<:.c=.exe}: $(shell ./getcomments.pl -p='linker:\s' -f='%' $< | awk '{for (i=1;i<=NF;i++) if ($$(i) ~ /.o$$/) printf " %s", $$(i)}') >> $@
+       echo ${<:.c=.exe}: $(shell ./getcomments.pl -p='linker:\s' -f='%' $< | awk '{for (i=1;i<=NF;i++) if ($$(i) ~ /.o$$/) printf " %s", $$(i)}') > $@
        $(call PASS, SUCCESS)
 
 %.o: %.c