aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e8e6753..02896c9 100644
--- a/Makefile
+++ b/Makefile
@@ -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