help-make
[Top][All Lists]
Advanced

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

Re: the % target does not propagate ?!


From: Paul D. Smith
Subject: Re: the % target does not propagate ?!
Date: Tue, 19 Nov 2002 20:03:01 -0500

%% Alex Tillequin <address@hidden> writes:

  at> The problem is that the '%' inside the wildcard should be the
  at> module name A B or C. This is not the case in pratice.

Indeed.

  at> How can i do such a thing with one rule only rather than one for
  at> each module WITHOUT doing recursion (i hate recursion) ???

Short answer: you can't.


Slightly longer answer: you can probably do it using the new $(eval ...)
feature introduced in GNU make 3.80--however there are a couple of known
bugs in $(eval ...) in that version which may cause you problems.

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