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 issue).
well yeah - I started off just with echo TICKS=$(TICKS)I > ticks
which just kept adding an I - so I got bored and made it roman numerate the tick count *shrug* that part works.
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.
Hmm not sure how eval equates to include...
Since the actual end in mind is a Makefile.cache, which is the literal expanded targets, rules nessecary to genearte the product defined by the makefile... This must be dependant on all makefiles which may have changed... the final result is a huge tree of includable .cache files which have the rules needed for all dependants (libraries in other branches, etc )
But for this to work, after that cache is built, it MUST be reloaded (and also all things which it itself includes)
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make