2010-08-25 15:06:43 +02:00
|
|
|
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
|
2010-08-25 15:06:43 +02:00
|
|
|
LDADD+= -lgcov
|
|
|
|
CC=gcc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
lcov:
|
|
|
|
lcov -c -d . >$(LCOV)
|