> From: Paul Smith [mailto:[EMAIL PROTECTED] On Behalf Of Paul D. Smith
>> all: foo .WAIT bar
>>
>> foo: baz biz
>> bar: boz booz
>> would be that neither foo NOR any of its prerequisites would
>> be built until bar and all if its prerequisites were finished.
%% [EMAIL PROTECTED] writes:
rm> Didn't you get that backwards?
rm> Shouldn't it be that bar and its prerequistes are built after foo and
rm> all its prerequisites?
Oh right. So I had the other examples of order-only wrong too; it would
be:
all: foo bar
bar: | foo
But in order to get the full functionality you'd need:
all: foo bar
foo: baz biz
bar: boz booz
bar boz booz: | foo
And on and on for any prerequisites of bar, boz, and booz, etc. Ouch.
This is more powerful than the proposed .WAIT in one way, though: since
it actually creates target prerequisites it isn't impacted by targets
being built through a different branch of the dependency graph.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> 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
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make