aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-08-11 22:45:03 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-08-11 22:45:03 +0100
commit97b23e4f715ba87a15fd85eaa03dd885bcdf8369 (patch)
tree454694e4f754c734b38acfe07bdebd3210cbe4be /Makefile
parent023d3d0dc9993977da8ebcdc96da9a271d272f96 (diff)
downloadalgorithms-97b23e4f715ba87a15fd85eaa03dd885bcdf8369.tar.gz
algorithms-97b23e4f715ba87a15fd85eaa03dd885bcdf8369.tar.bz2
algorithms-97b23e4f715ba87a15fd85eaa03dd885bcdf8369.zip
Add vec to Makefile and change cflags, remove vflags
Diffstat (limited to 'Makefile')
-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)
./$^