X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=makefile;fp=makefile;h=f5e19b9bf3cf3464218cfbfba33ae02eb6d2366c;hb=24857300f0d0cfe51b5c923c6f2e40b31fbe8d89;hp=b10fc9fdb46825141ef65786ae50c1eec847521e;hpb=031d7bba7849b5b5ec7d1110f830175cc3b65b44;p=calc.git diff --git a/makefile b/makefile index b10fc9f..f5e19b9 100644 --- a/makefile +++ b/makefile @@ -67,7 +67,7 @@ valgrinds: $(MAKE) $(addprefix valgrind_,$(ALLEXE)) wipe: purge - $(call TITLE, "wiping") + $(call TITLE, "Wiping") touch wipe rm -f wipe $(wildcard *.gcda *.gcno) $(call PASS, SUCCESS) @@ -81,13 +81,13 @@ include $(wildcard *.d) include $(wildcard *.ld) gcov_%: - make purge - CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="-fprofile-arcs -ftest-coverage" make - make test_$(@:gcov_%=%) + $(MAKE) purge + CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="-fprofile-arcs -ftest-coverage" $(MAKE) + $(MAKE) test_$(@:gcov_%=%) gcov `sed -e 's/\.exe:/.c/;s/\.o/.c/g' $(@:gcov_%=%.ld)` touch gcov rm -f gcov $(wildcard *.gcda *.gcno) - make purge + $(MAKE) purge %.test: %.c $(call TITLE, "Building $@")