initial parser
[calc.git] / makefile
index c98ce70f99931118b7f99c8e1aa8da1749d3df7b..772aca4a9a1888fff18b1e8b20152f6ded4e6d99 100644 (file)
--- a/makefile
+++ b/makefile
@@ -18,7 +18,6 @@ LDFLAGS += -g
 
 ALLEXE  =
 ALLEXE += calc
-ALLEXE += ascii
 ALLEXE += skel
 
 SHELL = bash
@@ -99,7 +98,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