aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 02896c98672cb8ef244c193982eb7787e2a58023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC=clang++
CFLAGS=-pedantic -Wall -ggdb -fsanitize=address
VFLAGS=--show-leak-kinds=all --leak-check=full
OUT=

btree.out: btree.cpp
	$(CC) $(CFLAGS) $^ -o $@

list.out: list.cpp
	$(CC) $(CFLAGS) $^ -o $@

.PHONY: run
run: $(OUT)
	./$^

.PHONY: clean
	rm -v *.out;