Reorganisation of the source tree
[ghc-hetmet.git] / utils / genargs / Makefile
diff --git a/utils/genargs/Makefile b/utils/genargs/Makefile
new file mode 100644 (file)
index 0000000..3c31e6a
--- /dev/null
@@ -0,0 +1,8 @@
+comma = ,
+BAR= "-L\"foo bar\""
+FOO= $(patsubst %,$(comma)"%",$(BAR))
+
+test:
+       @echo "$(FOO)"
+       @echo "$(BAR)" | $(PERL) genargs.pl -comma
+       @echo