rm -f purge $(ALLEXE:%=%.exe)
$(call PASS, SUCCESS)
+valgrinds:
+ $(MAKE) $(addprefix valgrind_,$(ALLEXE))
+
wipe: purge
$(call TITLE, "wiping")
touch wipe
done; \
test "$$RC" -ne 1
-valgrind_%: %
+valgrind_%: %.exe
VALGRIND="valgrind -v --leak-check=full --show-reachable=yes --log-fd=2"; \
export VALGRIND; \
- $(MAKE) test_$<
+ $(MAKE) $(@:valgrind_%=test_%)
%.d: %.c
$(call TITLE, "Building $@")