From: Mazet Laurent Date: Thu, 15 May 2025 11:47:20 +0000 (+0200) Subject: correct gcov rule X-Git-Tag: v1.0~25 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=0d33c5af2d4319809b9a750bdb7a762a6065b58a;p=morep.git correct gcov rule --- diff --git a/makefile b/makefile index 94ac452..04e0dba 100644 --- a/makefile +++ b/makefile @@ -126,7 +126,7 @@ gcov_%: $(MAKE) depends OPTIONS="-coverage -O0" $(MAKE) ${@:gcov_%=%}.exe $(MAKE) test_$(@:gcov_%=%) - gcov `sed -e 's/\.exe:/.c/;s/\.o/.c/g' $(@:gcov_%=%.ld)` + gcov `sed -e 's/\.exe:/.c/;s/\.o/.c/g;s/ -l[^ ]*//g' $(@:gcov_%=%.ld)` $(MAKE) purge grep '^ *#####' *.c.gcov || true