aboutsummaryrefslogtreecommitdiff
path: root/mk/cxx-big-literal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/cxx-big-literal.mk')
-rw-r--r--mk/cxx-big-literal.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/cxx-big-literal.mk b/mk/cxx-big-literal.mk
new file mode 100644
index 000000000..85365df8e
--- /dev/null
+++ b/mk/cxx-big-literal.mk
@@ -0,0 +1,5 @@
+%.gen.hh: %
+ @echo 'R"foo(' >> $@.tmp
+ $(trace-gen) cat $< >> $@.tmp
+ @echo ')foo"' >> $@.tmp
+ @mv $@.tmp $@