aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/c++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'development/c++/Makefile')
-rw-r--r--development/c++/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/development/c++/Makefile b/development/c++/Makefile
index 610b5a2..ca752d9 100644
--- a/development/c++/Makefile
+++ b/development/c++/Makefile
@@ -1,4 +1,4 @@
-SRC = concepts-11.cc meta.cc meta2.cc meta4.cc
+SRC = concepts-11.cc meta.cc meta2.cc meta4.cc tmpl-pair.cc tmpl-void_t.cc
BIN = $(SRC:.cc=)
all: $(BIN)
@@ -6,5 +6,8 @@ all: $(BIN)
%: %.cc
$(CXX) -o $* $^ -std=c++17 -g -fsanitize=address -fsanitize=undefined -fsanitize=leak
+fmt:
+ clang-format -i $(SRC)
+
clean:
$(RM) $(BIN)