aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b7ca82b..5ba401e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
-CC=clang++
-CFLAGS=-pedantic -Wall -Wextra -Werror -fsanitize=address -fsanitize=undefined -ggdb -fsanitize=address
-VFLAGS=--show-leak-kinds=all --leak-check=full
+CC=clang
+CFLAGS=-pedantic -Wall -Wextra -fsanitize=address -fsanitize=undefined -ggdb -fsanitize=address
OUT=
btree.out: impls/btree.cpp
@@ -12,6 +11,9 @@ list.out: impls/list.cpp
bsearch.out: impls/bsearch.cpp
$(CC) $(CFLAGS) $^ -o $@
+vec.out: impls/vec.c
+ $(CC) $(CFLAGS) $^ -o $@
+
.PHONY: run
run: $(OUT)
./$^