aboutsummaryrefslogtreecommitdiffstats
path: root/config-coverage-gcc.mk
blob: 18de1470983972db3d646a1aa0a9a57b1ef6ec73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
CONFIGFILE_PROPER = config.mk
include $(CONFIGFILE_PROPER)

CC   = $(CC_PREFIX)gcc -std=c99
GCOV = gcov

CFLAGS  = -g -O0 -pedantic -fprofile-arcs -ftest-coverage
LDFLAGS = -lgcov -fprofile-arcs

coverage: check
	$(GCOV) -pr $(SRC) 2>&1