Call make via ${MAKE}

This commit is contained in:
Sebastian Ramacher 2012-02-09 01:13:40 +01:00
parent 03a088b088
commit 377ceafd63

View file

@ -88,8 +88,8 @@ doc: clean
$(QUIET)doxygen Doxyfile
gcov: clean
$(QUIET)CFLAGS="${CFLAGS}-fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} -fprofile-arcs" $(MAKE) $(PROJECT)
$(QUIET)make -C tests
$(QUIET)CFLAGS="${CFLAGS}-fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} -fprofile-arcs" ${MAKE} $(PROJECT)
$(QUIET)${MAKE} -C tests
$(QUIET)lcov --directory . --capture --output-file $(PROJECT).info
$(QUIET)genhtml --output-directory gcov $(PROJECT).info