aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-11-22 06:22:42 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-11-22 06:22:42 +0000
commitf8093dceca4800991ba1f18ea9e379d37ea597f4 (patch)
tree5bc314f627cc2ca404e4f84ceb18d640599226c6 /Makefile
parentc0ccb7b38426c3f21fb1b7fe9db19ed6d4613681 (diff)
downloadalgorithms-f8093dceca4800991ba1f18ea9e379d37ea597f4.tar.gz
algorithms-f8093dceca4800991ba1f18ea9e379d37ea597f4.tar.bz2
algorithms-f8093dceca4800991ba1f18ea9e379d37ea597f4.zip
(btree)+binary tree cpp file with recipes in makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6cfba06..8e575b7 100644
--- a/Makefile
+++ b/Makefile
@@ -7,3 +7,10 @@ list: list.cpp
.PHONY: memcheck_list
memcheck_list: list
valgrind --leak-check=full ./list;
+
+btree: btree.cpp
+ $(CC) $(CFLAGS) $^ -o $@
+
+.PHONY: memcheck_btree
+memcheck_btree: btree
+ valgrind --leak-check=full ./btree;