On Mon, 2007-06-18 at 03:40 -0400, Mike Frysinger wrote:
> is it possible to search for a comma using $(findstring) ?  i tried
> escaping it with no luck :(

You have to use a variable, like this:

        COMMA := ,

Now you can use that anywhere you want to search for a comma:

        echo $(findstring -Wl$(COMMA)moo,$(LDFLAGS))

-- 
-------------------------------------------------------------------------------
 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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to