Add make target for coverage

This commit is contained in:
Aaron Traas 2017-06-28 14:35:17 -04:00
parent d43854f0f6
commit a4de450bfa
3 changed files with 8 additions and 6 deletions

View file

@ -152,3 +152,8 @@ linty: advent
debug: CCFLAGS += -O0 --coverage -ggdb
debug: linty
debug: cheat
coverage: debug check
lcov -t "advent" -o advent.info -c -d .
genhtml -o coverage/ advent.info