[Top][All Lists]

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

Re: 'How makefiles are remade'

From: Paul D. Smith
Subject: Re: 'How makefiles are remade'
Date: Tue, 20 Apr 2004 18:16:14 -0400

I think Jim's example could be _MUCH_ clearer (what's with all that
TICKS and patsubst, etc.?  That hardly seems necessary to show the

But, if I understand correctly, what Jim wants is for make to re-invoke
itself after each makefile that it rebuilds, so that subsequent rebuilds
can take advantage of the contents created in previous ones.

If you want make to continue to re-exec itself you have to fake it out
by somehow convincing it that the file is out of date.  If you provide a
simple example, just using touch etc. so it's obvious what's going on,
I'll see if I can think of a way to do it.

Alternatively you could move away from include and just start using
eval... then you don't have to worry about re-exec at all.

 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]