diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-06-25 07:38:39 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-06-25 07:38:39 +0100 |
commit | dc090ace5f0f1f07dbd6be6b7aa7b7e35a7a7f9a (patch) | |
tree | 4c9b06028e51da087bb41c2aaee0b8ad0c1bea5a /Makefile | |
parent | 6d504da381d07115e7bc47b07276ba9105c541c0 (diff) | |
download | algorithms-dc090ace5f0f1f07dbd6be6b7aa7b7e35a7a7f9a.tar.gz algorithms-dc090ace5f0f1f07dbd6be6b7aa7b7e35a7a7f9a.tar.bz2 algorithms-dc090ace5f0f1f07dbd6be6b7aa7b7e35a7a7f9a.zip |
(*)~changed up makefile recipes, cleaned up README
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,11 +1,14 @@ CC=clang++ -CFLAGS=-pedantic -Wall -ggdb +CFLAGS=-pedantic -Wall -ggdb -fsanitize=address VFLAGS=--show-leak-kinds=all --leak-check=full OUT= -$(OUT): $(OUT).cpp +$(OUT).out: $(OUT).cpp $(CC) $(CFLAGS) $^ -o $@ -.PHONY: memcheck -memcheck: $(OUT) - valgrind $(VFLAGS) ./$^; +.PHONY: run +run: $(OUT).out + ./$^ + +.PHONY: clean + rm -v *.out; |