bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Error in gnu make?


From: Paul D. Smith
Subject: Re: Error in gnu make?
Date: Wed, 13 Mar 2002 15:06:21 -0500

%% address@hidden (Hans-Bernhard Broeker) writes:

  >> Note that the wildcard does work if I don't use a %....

  >> This can not possible be a feature, not an error.  Comments?

  hb> Why can't it be a feature that only one of these two features works,
  hb> in a single given rule?  Actually, I guess what happens is that the
  hb> *order* of application of these two feature is what breaks your
  hb> example.  Wildcards are expanded as the makefile is read.  But as
  hb> there is no file '%/somename.in' or so in your current directory,
  hb> almost certainly, this won't be expanded.

Exactly correct.

It's _critically_ important to understand the two different phases of
processing make utilizes, and what is expanded in each, in order to
write makefiles of any complexity...

I see, though, that this is not explicitly stated in the manual so I'll
fix that, thanks.

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



reply via email to

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