scc

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

commit ffedd0f2e41ba01a985620dbb7468f4caab1940a
parent eec601ebdb78b758cc248158386ef15a279e7f3a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 20 Oct 2023 15:43:25 +0200

build: Force coverage rule

The coverage rule can be executed several times independently
of the coverage directory being created or not.

Diffstat:
Mscripts/build/tool/gcov.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build/tool/gcov.mk b/scripts/build/tool/gcov.mk @@ -2,7 +2,7 @@ PROFILE_CFLAGS = -fprofile-arcs -ftest-coverage PROFILE_LDLIBS = -lgcov include $(BUILDDIR)/tool/gnu.mk -coverage: +coverage: FORCE mkdir -p coverage lcov -c -d . -o coverage/cov.info genhtml -o coverage coverage/cov.info