1 2 3 4 5 6 7 8
comma = , BAR= "-L\"foo bar\"" FOO= $(patsubst %,$(comma)"%",$(BAR)) test: @echo "$(FOO)" @echo "$(BAR)" | $(PERL) genargs.pl -comma @echo