1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
CXXFLAGS+=-fprofile-arcs -ftest-coverage CFLAGS+=-fprofile-arcs -ftest-coverage LCOV_FILE=newsbeuter.info OUTDIR?=. include Makefile lcov-init: $(RM) $(LCOV_FILE) lcov-add: lcov -b . -d . -c --output-file $(LCOV_FILE) lcov-html: genhtml -o $(OUTDIR) $(LCOV_FILE)