mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 16:06:00 +01:00
Add run targets
This commit is contained in:
parent
47a35fd309
commit
a6db865596
1 changed files with 9 additions and 0 deletions
9
Makefile
9
Makefile
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue