aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/development/c++/Makefile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-04-12 22:41:33 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-04-12 22:41:33 +0200
commita6d3ae16736d7746ad6827f10c299ad84aa78a5b (patch)
treeed71c7fb6b2d4cc82c78fd7ec1ffeadadf31c681 /src/development/c++/Makefile
parent724d077860e103631605f09a7de35e3ad8796f56 (diff)
downloadnotes-a6d3ae16736d7746ad6827f10c299ad84aa78a5b.tar.gz
notes-a6d3ae16736d7746ad6827f10c299ad84aa78a5b.zip
c++: add example for picking template with partial specialzations
Diffstat (limited to 'src/development/c++/Makefile')
-rw-r--r--src/development/c++/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/development/c++/Makefile b/src/development/c++/Makefile
index 610b5a2..1d5172b 100644
--- a/src/development/c++/Makefile
+++ b/src/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
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)