Add run targets

This commit is contained in:
Moritz Lipp 2014-11-08 02:27:40 +01:00
parent 47a35fd309
commit a6db865596

View file

@ -125,6 +125,9 @@ ${PROJECT}: ${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
release: ${PROJECT} release: ${PROJECT}
run: release
$(QUIET)./${BUILDDIR_RELEASE}/${BINDIR}/${PROJECT}
# debug build # debug build
${OBJECTS_DEBUG}: config.mk ${PROJECT}/version.h \ ${OBJECTS_DEBUG}: config.mk ${PROJECT}/version.h \
@ -145,6 +148,9 @@ ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}: ${OBJECTS_DEBUG}
debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT} debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
run-debug: debug
$(QUIET)./${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
# gcov build # gcov build
${OBJECTS_GCOV}: config.mk ${PROJECT}/version.h \ ${OBJECTS_GCOV}: config.mk ${PROJECT}/version.h \
@ -170,6 +176,9 @@ gcov: options ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
$(call colorecho,LCOV,"Generate report") $(call colorecho,LCOV,"Generate report")
$(QUIET)${GENHTML_EXEC} ${GENHTML_FLAGS} $(QUIET)${GENHTML_EXEC} ${GENHTML_FLAGS}
run-gcov: ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
$(QUIET)./${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
# clean # clean
clean: clean: