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 622bfd3..2c53e47 100644
--- a/development/c++/Makefile
+++ b/development/c++/Makefile
@@ -1,4 +1,4 @@
-SRC = concepts-11.cc meta.cc meta2.cc meta4.cc tmpl-pair.cc tmpl-void_t.cc fwd.cc fwd-perfect.cc
+SRC = concepts-11.cc concepts-20.cc meta.cc meta2.cc meta4.cc tmpl-pair.cc tmpl-void_t.cc fwd.cc fwd-perfect.cc
BIN = $(SRC:.cc=)
all: $(BIN)
@@ -6,6 +6,9 @@ all: $(BIN)
%: %.cc
$(CXX) -o $* $^ -std=c++17 -g -fsanitize=address -fsanitize=undefined -fsanitize=leak
+concepts-20: concepts-20.cc
+ $(CXX) -fsyntax-only $^ -std=c++20
+
fmt:
clang-format -i $(SRC)