projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ 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