[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: searching for a comman with $(findstring)
From: |
Paul Smith |
Subject: |
Re: searching for a comman with $(findstring) |
Date: |
Mon, 18 Jun 2007 09:07:54 -0400 |
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 <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