From 3acb7cd6b04eb04fb266d39d32435700517ac511 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 10 Nov 2012 18:03:10 +0100 Subject: [PATCH] add coverage build variant to Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 39156e366..0137cfc27 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,9 @@ DLLEXT ?= .so CFLAGS_all = -std=c99 -fPIC -DHAVE_FIRM_REVISION_H CFLAGS_debug = $(CFLAGS_all) -O0 -g3 -DDEBUG_libfirm CFLAGS_profile = $(CFLAGS_all) -O3 -pg -DNDEBUG -fno-inline -LINKFLAGS_profile = -pg +CFLAGS_coverage = $(CFLAGS_all) -O0 -fprofile-arcs -ftest-coverage -DDEBUG_libfirm +LINKFLAGS_profile = -pg +LINKFLAGS_coverage = -fprofile-arcs -ftest-coverage CFLAGS_optimize = $(CFLAGS_all) -O3 -DNDEBUG # General flags -- 2.20.1