diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-09 16:22:46 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-09 16:22:46 +0100 |
commit | 5c928bc8c77b890c17f03817b13e4119c500252c (patch) | |
tree | a4e2d5a4d73362ed3f3f8f5bd8a7d0cf4e2e6300 | |
parent | 509c8930e8427ebf0902ba2d886ae638b129e285 (diff) | |
download | algorithms-5c928bc8c77b890c17f03817b13e4119c500252c.tar.gz algorithms-5c928bc8c77b890c17f03817b13e4119c500252c.tar.bz2 algorithms-5c928bc8c77b890c17f03817b13e4119c500252c.zip |
(Makefile)~modified to be slightly more agnostic
I'm going to add recipes for other language implementations of certain
algorithms so as long as you have the correct background programs it
just requires a make call to run the program.
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3,11 +3,14 @@ CFLAGS=-pedantic -Wall -ggdb -fsanitize=address VFLAGS=--show-leak-kinds=all --leak-check=full OUT= -$(OUT).out: $(OUT).cpp +btree.out: btree.cpp + $(CC) $(CFLAGS) $^ -o $@ + +list.out: list.cpp $(CC) $(CFLAGS) $^ -o $@ .PHONY: run -run: $(OUT).out +run: $(OUT) ./$^ .PHONY: clean |