aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/c++/Makefile
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2024-04-10 19:37:02 +0000
committerjohannst <johannst@users.noreply.github.com>2024-04-10 19:37:02 +0000
commit269caa8ae18eb33e1286e4c21d434ea07228a619 (patch)
treeb9c0ae7bf44a6873adc4c9da9204de2bdf4a1de1 /development/c++/Makefile
parent92fc0e8e46352a593c3ce7f87292ee1c4ee4c4e4 (diff)
downloadnotes-269caa8ae18eb33e1286e4c21d434ea07228a619.tar.gz
notes-269caa8ae18eb33e1286e4c21d434ea07228a619.zip
deploy: ae498864bb638e597b589c52ff27237835625281
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)