Easy leakchecks with "make valgrind"
result is readable thanks to the suppression file
This commit is contained in:
@@ -528,7 +528,7 @@ endif
|
||||
|
||||
### And now for the real build rules ###
|
||||
|
||||
.PHONY : all debug release clean depend zip force install uninstall
|
||||
.PHONY : all debug release clean depend zip force install uninstall valgrind
|
||||
|
||||
# This is the list of the objects we want to build. Dependancies are built by "make depend" automatically.
|
||||
OBJS = main.o init.o graph.o sdlscreen.o misc.o special.o \
|
||||
@@ -797,5 +797,8 @@ uninstall :
|
||||
|
||||
endif
|
||||
|
||||
valgrind: $(BIN)
|
||||
valgrind --suppressions=../valgrind.grafx2.suppr --leak-check=full --show-leak-kinds=all --num-callers=20 $(BIN)
|
||||
|
||||
-include Makefile.dep
|
||||
|
||||
|
||||
Reference in New Issue
Block a user