aboutsummaryrefslogblamecommitdiffstats
path: root/config-coverage-gcc.mk
blob: a17fd55b24943929b308aa5648feb963b892f807 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                  
CONFIGFILE_PROPER = config.mk
include $(CONFIGFILE_PROPER)

CC   = $(CC_PREFIX)gcc
GCOV = gcov

CFLAGS_COVERAGE  = -g -O0 -pedantic -fprofile-arcs -ftest-coverage
LDFLAGS_COVERAGE = -lgcov -fprofile-arcs

CFLAGS  = -std=c11 $(CFLAGS_COVERAGE)
LDFLAGS = -lblake $(LDFLAGS_COVERAGE)

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