projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a511945
)
add coverage build variant to Makefile
author
Matthias Braun
<matze@braunis.de>
Sat, 10 Nov 2012 17:03:10 +0000
(18:03 +0100)
committer
Matthias Braun
<matze@braunis.de>
Mon, 12 Nov 2012 12:40:42 +0000
(13:40 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
39156e3
..
0137cfc
100644
(file)
--- 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