Add vec to Makefile and change cflags, remove vflags
This commit is contained in:
8
Makefile
8
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)
|
||||
./$^
|
||||
|
||||
Reference in New Issue
Block a user