Makefile: valgrind target added (forces -O0 and libc malloc).

This commit is contained in:
antirez 2013-02-11 12:11:21 +01:00
parent 93ae95de74
commit 1a27d41156

View File

@ -217,7 +217,10 @@ gcov:
$(MAKE) REDIS_CFLAGS="-fprofile-arcs -ftest-coverage -DCOVERAGE_TEST" REDIS_LDFLAGS="-fprofile-arcs -ftest-coverage" $(MAKE) REDIS_CFLAGS="-fprofile-arcs -ftest-coverage -DCOVERAGE_TEST" REDIS_LDFLAGS="-fprofile-arcs -ftest-coverage"
noopt: noopt:
$(MAKE) OPT="-O0" $(MAKE) OPTIMIZATION="-O0"
valgrind:
$(MAKE) OPTIMIZATION="-O0" MALLOC="libc"
src/help.h: src/help.h:
@../utils/generate-command-help.rb > help.h @../utils/generate-command-help.rb > help.h