Fix makefile

This commit is contained in:
Alexey Romanov
2011-01-13 14:51:32 +03:00
parent bdf7ee7bae
commit 7b4659247a

View File

@@ -6,6 +6,8 @@ PLT=dialyzer/sqlite3.plt
all: config_normal compile all: config_normal compile
debug: config_debug compile
compile: compile:
$(REBAR_COMPILE) $(REBAR_COMPILE)
@@ -29,7 +31,7 @@ endif
cross_compile: config_cross cross_compile: config_cross
$(REBAR_COMPILE) -C rebar.cross_compile.config $(REBAR_COMPILE) -C rebar.cross_compile.config
valgrind: clean valgrind: config_debug
$(REBAR_DEBUG) get-deps compile $(REBAR_DEBUG) get-deps compile
valgrind --tool=memcheck --leak-check=yes --num-callers=20 ./test.sh valgrind --tool=memcheck --leak-check=yes --num-callers=20 ./test.sh