diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-08-27 14:22:21 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-08-27 14:22:21 +0200 |
commit | ddc1761f1a443ea9560c67cfc126160ba7254a39 (patch) | |
tree | 024214903fdf08578b38478be42b820abc09140b /Makefile | |
parent | 9e845bd25460d7b8287cf3ea5147040689940f49 (diff) | |
download | yosys-ddc1761f1a443ea9560c67cfc126160ba7254a39.tar.gz yosys-ddc1761f1a443ea9560c67cfc126160ba7254a39.tar.bz2 yosys-ddc1761f1a443ea9560c67cfc126160ba7254a39.zip |
Add "make coverage"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -650,6 +650,12 @@ clean-abc: mrproper: clean git clean -xdf +coverage: + ./yosys -qp 'help; help -all' + rm -rf coverage.info coverage_html + lcov --capture -d . --no-external -o coverage.info + genhtml coverage.info --output-directory coverage_html + qtcreator: { for file in $(basename $(OBJS)); do \ for prefix in cc y l; do if [ -f $${file}.$${prefix} ]; then echo $$file.$${prefix}; fi; done \ @@ -740,6 +746,6 @@ echo-git-rev: -include kernel/*.d -include techlibs/*/*.d -.PHONY: all top-all abc test install install-abc manual clean mrproper qtcreator +.PHONY: all top-all abc test install install-abc manual clean mrproper qtcreator coverage vcxsrc mxebin .PHONY: config-clean config-clang config-gcc config-gcc-static config-gcc-4.8 config-gprof config-sudo |