From: Patrik Gornicz Date: Sat, 9 Aug 2008 17:44:12 +0000 (-0400) Subject: added VALFLAGS varible X-Git-Tag: v0.05~19 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=e861d99363674cf6897b241b56b29544779330c1 added VALFLAGS varible --- diff --git a/src/Makefile b/src/Makefile index 1e3e3f5..2c1cf92 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,6 +6,7 @@ LIBS := ${LIBSDL} ${LIBGL} OPTFLAGS := -O2 DBGFLAGS := -ggdb PRFFLAGS := ${DBGFLAGS} -pg +VALFLAGS := --leak-check=full #CXX := g++ CXXFLAGS := -Wall -pedantic -ansi ${DBGFLAGS} @@ -132,7 +133,7 @@ gdb: all .PHONY: val val: all - valgrind --leak-check=full ${TARGET} + valgrind ${VALFLAGS} ${TARGET} .PHONY: prof prof: all