gcov_%:
$(MAKE) purge
- GCOV="-fprofile-arcs -ftest-coverage -O0" $(MAKE)
+ GCOV="-coverage -O0" $(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
+ grep '#####' *.c.gcov || true
%.test: %.c
$(call TITLE, "Building $@")