aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/c++/Makefile
blob: 622bfd3c407e68d4a2115b990c51463bc51dddab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
SRC = concepts-11.cc meta.cc meta2.cc meta4.cc tmpl-pair.cc tmpl-void_t.cc fwd.cc fwd-perfect.cc
BIN = $(SRC:.cc=)

all: $(BIN)

%: %.cc
	$(CXX) -o $* $^ -std=c++17 -g -fsanitize=address -fsanitize=undefined -fsanitize=leak

fmt:
	clang-format -i $(SRC)

clean:
	$(RM) $(BIN)