summaryrefslogtreecommitdiff
path: root/utils/genargs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/genargs/Makefile')
-rw-r--r--utils/genargs/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/genargs/Makefile b/utils/genargs/Makefile
new file mode 100644
index 0000000000..3c31e6a39f
--- /dev/null
+++ b/utils/genargs/Makefile
@@ -0,0 +1,8 @@
+comma = ,
+BAR= "-L\"foo bar\""
+FOO= $(patsubst %,$(comma)"%",$(BAR))
+
+test:
+ @echo "$(FOO)"
+ @echo "$(BAR)" | $(PERL) genargs.pl -comma
+ @echo