(btree)+binary tree cpp file with recipes in makefile

This commit is contained in:
2021-11-22 06:22:42 +00:00
parent c0ccb7b384
commit f8093dceca
2 changed files with 13 additions and 0 deletions

View File

@@ -7,3 +7,10 @@ list: list.cpp
.PHONY: memcheck_list .PHONY: memcheck_list
memcheck_list: list memcheck_list: list
valgrind --leak-check=full ./list; valgrind --leak-check=full ./list;
btree: btree.cpp
$(CC) $(CFLAGS) $^ -o $@
.PHONY: memcheck_btree
memcheck_btree: btree
valgrind --leak-check=full ./btree;

6
btree.cpp Normal file
View File

@@ -0,0 +1,6 @@
/* btree.cpp
* Date: 2021-11-22
* Author: Aryadev Chavali
*/