minix/share/mk/minix.gcov.mk

13 lines
210 B
Makefile
Raw Normal View History

LCOV=lcov.$(PROG)
CLEANFILES+= *.gcno *.gcda $(LCOV)
.if ${MKCOVERAGE} == "yes"
2011-07-22 17:28:27 +02:00
CFLAGS+=-fno-builtin -fprofile-arcs -ftest-coverage
LDADD+= -lgcov
COMPILER_TYPE=gnu
CC=gcc
.endif
lcov:
lcov -c -d . >$(LCOV)