Moved implementations to folder
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,15 +1,15 @@
|
|||||||
CC=clang++
|
CC=clang++
|
||||||
CFLAGS=-pedantic -Wall -ggdb -fsanitize=address
|
CFLAGS=-pedantic -Wall -Wextra -Werror -fsanitize=address -fsanitize=undefined -ggdb -fsanitize=address
|
||||||
VFLAGS=--show-leak-kinds=all --leak-check=full
|
VFLAGS=--show-leak-kinds=all --leak-check=full
|
||||||
OUT=
|
OUT=
|
||||||
|
|
||||||
btree.out: btree.cpp
|
btree.out: impls/btree.cpp
|
||||||
$(CC) $(CFLAGS) $^ -o $@
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
list.out: list.cpp
|
list.out: impls/list.cpp
|
||||||
$(CC) $(CFLAGS) $^ -o $@
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
bsearch.out: bsearch.cpp
|
bsearch.out: impls/bsearch.cpp
|
||||||
$(CC) $(CFLAGS) $^ -o $@
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
@@ -18,4 +18,4 @@ run: $(OUT)
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -v *.out;
|
rm -v *.out *.txt;
|
||||||
|
|||||||
Reference in New Issue
Block a user