(General)~memcheck recipes now has --show-leak-kinds=all
This commit is contained in:
4
Makefile
4
Makefile
@@ -6,11 +6,11 @@ list: list.cpp
|
||||
|
||||
.PHONY: memcheck_list
|
||||
memcheck_list: list
|
||||
valgrind --leak-check=full ./list;
|
||||
valgrind --show-leak-kinds=all --leak-check=full ./list;
|
||||
|
||||
btree: btree.cpp
|
||||
$(CC) $(CFLAGS) $^ -o $@
|
||||
|
||||
.PHONY: memcheck_btree
|
||||
memcheck_btree: btree
|
||||
valgrind --leak-check=full ./btree;
|
||||
valgrind --show-leak-kinds=all --leak-check=full ./btree;
|
||||
|
||||
Reference in New Issue
Block a user