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

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

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

.PHONY: clean
	rm -v *.out;