bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add comma to a list?


From: Paul D. Smith
Subject: Re: How to add comma to a list?
Date: Tue, 12 Jul 2005 13:27:05 -0400

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 <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]