memory feature
[calc.git] / makefile
index 08034deb07d4070f32d79d5180237effb6f8b683..fe42f876049b741bb4e0d4ad1b24cc065d40f75b 100644 (file)
--- a/makefile
+++ b/makefile
@@ -131,7 +131,7 @@ valgrind_%: %.exe
 
 %.exe: %.o %.d
        $(call TITLE, "Building $@")
-       $(CC) $(LDFLAGS) $(shell ./getcomments.pl -p='linker:\s' -f='%' ${<:.o=.c}) $< -o $@
+       $(CC) $(LDFLAGS) $< $(shell ./getcomments.pl -p='linker:\s' -f='%' ${<:.o=.c}) -o $@
        $(call PASS, SUCCESS)
 
 ## Phony