Add vec to Makefile and change cflags, remove vflags
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,6 +1,5 @@
|
|||||||
CC=clang++
|
CC=clang
|
||||||
CFLAGS=-pedantic -Wall -Wextra -Werror -fsanitize=address -fsanitize=undefined -ggdb -fsanitize=address
|
CFLAGS=-pedantic -Wall -Wextra -fsanitize=address -fsanitize=undefined -ggdb -fsanitize=address
|
||||||
VFLAGS=--show-leak-kinds=all --leak-check=full
|
|
||||||
OUT=
|
OUT=
|
||||||
|
|
||||||
btree.out: impls/btree.cpp
|
btree.out: impls/btree.cpp
|
||||||
@@ -12,6 +11,9 @@ list.out: impls/list.cpp
|
|||||||
bsearch.out: impls/bsearch.cpp
|
bsearch.out: impls/bsearch.cpp
|
||||||
$(CC) $(CFLAGS) $^ -o $@
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
|
vec.out: impls/vec.c
|
||||||
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
run: $(OUT)
|
run: $(OUT)
|
||||||
./$^
|
./$^
|
||||||
|
|||||||
Reference in New Issue
Block a user