help-make
[Top][All Lists]
Advanced

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

Re: address@hidden: Question about variable assignment]


From: Paul Smith
Subject: Re: address@hidden: Question about variable assignment]
Date: Tue, 3 Dec 2002 15:46:25 -0500

  >> I need to take out of the variable some values.
  >> 
  >> This way I get 1 value out of the LDLIBS:
  >> 
  >> LDLIBS := $(LDLIBS:-lasn1code= )

This is not a good way to do it.

Why not use the $(filter-out ...) function?  That's what it was invented
for...


See the GNU make manual chapter on "Functions for Transforming Text" for
a complete list of the functions GNU make provides.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>   HASMAT: HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.




reply via email to

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