diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-06-25 07:33:06 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-06-25 07:33:06 +0100 |
commit | 6d504da381d07115e7bc47b07276ba9105c541c0 (patch) | |
tree | 167016d5bca93359f92d91181463954b1e02572c /Makefile | |
parent | b58ee52a8157d971440d6c92a194a92c2d75f83b (diff) | |
download | algorithms-6d504da381d07115e7bc47b07276ba9105c541c0.tar.gz algorithms-6d504da381d07115e7bc47b07276ba9105c541c0.tar.bz2 algorithms-6d504da381d07115e7bc47b07276ba9105c541c0.zip |
(*)~reworking this project
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -1,17 +1,11 @@ CC=clang++ CFLAGS=-pedantic -Wall -ggdb VFLAGS=--show-leak-kinds=all --leak-check=full +OUT= -list: list.cpp +$(OUT): $(OUT).cpp $(CC) $(CFLAGS) $^ -o $@ -.PHONY: memcheck_list -memcheck_list: list - valgrind $(VFLAGS) ./$^; - -btree: btree.cpp - $(CC) $(CFLAGS) $^ -o $@ - -.PHONY: memcheck_btree -memcheck_btree: btree +.PHONY: memcheck +memcheck: $(OUT) valgrind $(VFLAGS) ./$^; |