From 7b4659247af58667f7fa99a69737751d7816e791 Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Thu, 13 Jan 2011 14:51:32 +0300 Subject: [PATCH] Fix makefile --- GNUmakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 5b31723..1d322fd 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -6,9 +6,11 @@ PLT=dialyzer/sqlite3.plt all: config_normal compile +debug: config_debug compile + compile: $(REBAR_COMPILE) - + test: $(REBAR_COMPILE) eunit @@ -29,7 +31,7 @@ endif cross_compile: config_cross $(REBAR_COMPILE) -C rebar.cross_compile.config -valgrind: clean +valgrind: config_debug $(REBAR_DEBUG) get-deps compile valgrind --tool=memcheck --leak-check=yes --num-callers=20 ./test.sh