help-make
[Top][All Lists]
Advanced

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

Re: Hierarchical automatic variables?


From: Paul D. Smith
Subject: Re: Hierarchical automatic variables?
Date: Mon, 30 Jun 2003 15:16:21 -0400

%% "Peart, Jonathan E" <address@hidden> writes:

  pje> According to the gmake manual, the automatic variable $? gives
  pje> you "The names of all the prerequisites that are newer than the
  pje> target, with spaces between them."

  pje> That only works on one level of hierarchy.  What if I wanted the
  pje> names of all prerequisites of the prerequisites of the
  pje> prerequisites, etc etc.

You can't get this information normally.

If you use $(eval ...) in tricky ways you might be able to do it.

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