aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/2024-04-24-fn-wrapper-macro-magic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'content/2024-04-24-fn-wrapper-macro-magic/Makefile')
-rw-r--r--content/2024-04-24-fn-wrapper-macro-magic/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/2024-04-24-fn-wrapper-macro-magic/Makefile b/content/2024-04-24-fn-wrapper-macro-magic/Makefile
new file mode 100644
index 0000000..2347615
--- /dev/null
+++ b/content/2024-04-24-fn-wrapper-macro-magic/Makefile
@@ -0,0 +1,11 @@
+check:
+ g++ -fsyntax-only wrap-v1.cc
+ g++ -fsyntax-only wrap-v2.cc
+ g++ -fsyntax-only wrap-v3.cc
+ g++ -fsyntax-only wrap-v4.cc
+
+cpp:
+ g++ -E wrap-v1.cc | clang-format
+ g++ -E wrap-v2.cc | clang-format
+ g++ -E wrap-v3.cc | clang-format
+ g++ -E wrap-v4.cc | clang-format