summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-10-22 13:58:11 +0100
committerLars Wirzenius <liw@liw.fi>2010-10-22 13:58:11 +0100
commit4009cb17590afba409dafe0e19cacbd4c97ddb88 (patch)
treed2fb249dc973c1d67b778a3db66bf5f94a8281b6
parentea0f6b8f589ea6f2bd37a7357ff6f4eaae363540 (diff)
downloaddynstr-4009cb17590afba409dafe0e19cacbd4c97ddb88.tar.gz
Add --coverage to support coverage testing.
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 19e6dbb..ea005b3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-CFLAGS = --std=c99 -Wall -Werror
+CFLAGS = --std=c99 -Wall -Werror --coverage
+LDFLAGS = --coverage
all: unittests
@@ -10,5 +11,5 @@ check: all
./unittests
clean:
- rm -f *.o *.a *.so core unittests
+ rm -f *.o *.a *.so *.gcov *.gcda *.gcno core unittests