diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | btree.cpp | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -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; diff --git a/btree.cpp b/btree.cpp new file mode 100644 index 0000000..e5d412c --- /dev/null +++ b/btree.cpp @@ -0,0 +1,6 @@ +/* btree.cpp + * Date: 2021-11-22 + * Author: Aryadev Chavali + */ + + |