From 24857300f0d0cfe51b5c923c6f2e40b31fbe8d89 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Mon, 2 Jan 2023 21:59:26 +0100 Subject: [PATCH] correct makefile --- makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 $@") -- 2.30.2