diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-10 12:45:39 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-10 13:02:46 +0100 |
| commit | df10c24e9a28821744dcda454519612dee22fd7c (patch) | |
| tree | 24c1a3dfb2fba6b4eb2c34d6daa244474c0e81da /Makefile | |
| parent | 8ad7c356046e313e3ffbbbe418d622edc3701715 (diff) | |
| download | vis-df10c24e9a28821744dcda454519612dee22fd7c.tar.gz vis-df10c24e9a28821744dcda454519612dee22fd7c.tar.xz | |
build: add Makefile target for code coverage via gcov
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -58,6 +58,9 @@ debug: clean profile: clean @$(MAKE) CFLAGS_DEBUG='${CFLAGS_DEBUG_ENABLE} -pg' +coverage: clean + @$(MAKE) CFLAGS_DEBUG='--coverage' + test-update: git submodule init git submodule update --remote --rebase @@ -68,7 +71,7 @@ test: clean: @echo cleaning - @rm -f vis vis-menu vis-${VERSION}.tar.gz + @rm -f vis vis-menu vis-${VERSION}.tar.gz *.gcov *.gcda *.gcno dist: clean @echo creating dist tarball @@ -116,4 +119,4 @@ uninstall: @echo removing support files from ${DESTDIR}${SHAREPREFIX}/vis @rm -rf ${DESTDIR}${SHAREPREFIX}/vis -.PHONY: all clean dist install uninstall debug profile test test-update +.PHONY: all clean dist install uninstall debug profile coverage test test-update |
