aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/c++/Makefile
blob: ca752d9cbad2cfda0b18dc9b0e9d585b3b7434e3 (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
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)