12 lines
211 B
Makefile
12 lines
211 B
Makefile
LCOV=lcov.$(PROG)
|
|
CLEANFILES+= *.gcno *.gcda $(LCOV)
|
|
|
|
.if ${MKCOVERAGE} == "yes"
|
|
CFLAGS+=-fno-builtin -fprofile-arcs -ftest-coverage
|
|
LDADD+= -lgcov
|
|
COMPILER_TYPE=gnu
|
|
CC=gcc
|
|
.endif
|
|
|
|
lcov:
|
|
lcov -c -d . >$(LCOV)
|