summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-12-14 13:48:24 -0500
committerantirez <antirez@gmail.com>2009-12-14 13:48:24 -0500
commitfc77604c47c6b8d57153349260a7a7e5b0d833b6 (patch)
tree9c237fa7b274c4f8ac7921d80738f37d476ba60e /Makefile
parent49b99ab43e8160feb8478ebb09db0e0db942afcf (diff)
downloadredis-fc77604c47c6b8d57153349260a7a7e5b0d833b6.tar.gz
a few more tests and ability to run a specific test in test-redis.tcl
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 34b35f576..c036e10cd 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ redis-cli: $(CLIOBJ)
$(CC) -c $(CFLAGS) $(DEBUG) $(COMPILE_TIME) $<
clean:
- rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) *.o
+ rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) *.o *.gcda *.gcno *.gcov
dep:
$(CC) -MM *.c
@@ -80,5 +80,8 @@ log:
gprof:
make PROF="-pg"
+gcov:
+ make PROF="-fprofile-arcs -ftest-coverage"
+
32bitgprof:
make PROF="-pg" ARCH="-arch i386"