diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-08-05 14:36:30 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2012-08-06 13:59:46 +0200 |
commit | d4285dea2ccad65678bca52af003860f20b14b63 (patch) | |
tree | a6a6c116ebfa94b532394ca6dcb4404672a2d30c | |
parent | 6832c5c251608461b3fcba58bd8c6fa2b1a57639 (diff) | |
download | mupdf-d4285dea2ccad65678bca52af003860f20b14b63.tar.xz |
Add a make target for measuring code coverage
-rw-r--r-- | Makerules | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ CFLAGS += -pipe -O2 -DNDEBUG -pg LDFLAGS += -pg else ifeq "$(build)" "release" CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer +else ifeq "$(build)" "coverage" +CFLAGS += -pipe -g -DDEBUG -pg -fprofile-arcs -ftest-coverage +LIBS += -lgcov else ifeq "$(build)" "native" CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer -march=native -mfpmath=sse else ifeq "$(build)" "memento" |