From 97b23e4f715ba87a15fd85eaa03dd885bcdf8369 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 11 Aug 2024 22:45:03 +0100 Subject: Add vec to Makefile and change cflags, remove vflags --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') 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) ./$^ -- cgit v1.2.3-13-gbd6f