X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=makefile;h=772aca4a9a1888fff18b1e8b20152f6ded4e6d99;hb=bc97a98979c3378e4f0e962b9c2667fc27239a4d;hp=40cfde7c33adb4477999621f99273f4e539a26f2;hpb=ec15bdbcb9bac355b7b67e97ec9cb87b65603c92;p=calc.git diff --git a/makefile b/makefile index 40cfde7..772aca4 100644 --- a/makefile +++ b/makefile @@ -98,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