aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/2024-04-24-fn-wrapper-macro-magic/Makefile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-04-24 01:07:55 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-04-24 01:07:55 +0200
commitaa3f6e0a8109ab4cc759b23c9feccff9cee4e876 (patch)
treef31e5f8541fbc02fe00a1fe2bbd030d444dd4c75 /content/2024-04-24-fn-wrapper-macro-magic/Makefile
parentbc6907e58ba86da8c30a29c98b998832c4b260d3 (diff)
downloadblog-aa3f6e0a8109ab4cc759b23c9feccff9cee4e876.tar.gz
blog-aa3f6e0a8109ab4cc759b23c9feccff9cee4e876.zip
fn-wrapper: initial version of macro magic
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