From f8093dceca4800991ba1f18ea9e379d37ea597f4 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 22 Nov 2021 06:22:42 +0000 Subject: (btree)+binary tree cpp file with recipes in makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') 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; -- cgit v1.2.3-13-gbd6f