scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

gcov.mk (216B)


      1 PROFILE_CFLAGS  = -fprofile-arcs -ftest-coverage
      2 PROFILE_LDLIBS  = -lgcov
      3 include $(BUILDDIR)/tool/gnu.mk
      4 
      5 coverage: FORCE
      6 	mkdir -p coverage
      7 	lcov -c -d . -o coverage/cov.info
      8 	genhtml -o coverage coverage/cov.info