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 $(QUIET)doxygen Doxyfile
gcov: clean gcov: clean
$(QUIET)CFLAGS="${CFLAGS}-fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} -fprofile-arcs" $(MAKE) $(PROJECT) $(QUIET)CFLAGS="${CFLAGS}-fprofile-arcs -ftest-coverage" LDFLAGS="${LDFLAGS} -fprofile-arcs" ${MAKE} $(PROJECT)
$(QUIET)make -C tests $(QUIET)${MAKE} -C tests
$(QUIET)lcov --directory . --capture --output-file $(PROJECT).info $(QUIET)lcov --directory . --capture --output-file $(PROJECT).info
$(QUIET)genhtml --output-directory gcov $(PROJECT).info $(QUIET)genhtml --output-directory gcov $(PROJECT).info