Put it into a variable:
, = ,
$(patsubst %,-Wl$,-y,%_,$(FOO))
If that's too tricky, just use a variable like COMMA or something :-).
All GNU make functions parse up the arguments to the function BEFORE any
evaluation of the arguments happens.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make