[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnu make bug
From: |
Paul D. Smith |
Subject: |
Re: gnu make bug |
Date: |
16 Feb 2001 17:20:20 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
%% "Paul D. Smith" <address@hidden> writes:
%% address@hidden (Laurie Moye) writes:
lm> ifneq ( , $(findstring -g, $(CFLAGS)) )
pds> Why does everyone think whitespace doesn't count?
Actually, only the last space is causing trouble here.
pds> Rewrite:
pds> ifneq (,$(findstring -g,$(CFLAGS)))
Personally I think my suggestion above is the most clear, but it would
_work_ to just remove the last space:
ifneq ( , $(findstring -g, $(CFLAGS)))
^^
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist