Add debug make target

This commit is contained in:
Thomas Klaehn 2019-07-22 15:58:46 +02:00
parent beddee2f57
commit e5d3ef4624

View File

@ -77,6 +77,10 @@ clean:
rm -f $(OBJ_DIR)/*.gcda $(OBJ_DIR)/*.gcno
rm -fr $(COVERAGE_DIR)
.PHONY: debug
debug:
echo $(INC)
.PHONY: coverage
coverage: _cov_genhtml
$(eval COVERAGE:=$(shell grep 'lines' .coverage.tmp | egrep -o '[0-9]+.[0-9]+%'))