"Paul D. Smith" <[EMAIL PROTECTED]> writes:

>   me> prereq2: | prereq1
>
> This says "prereq1 must complete before prereq2 will be run, BUT the
> decision on rebuilding prereq2 will completely ignore prereq1."

It also says that if prereq2 is to be updated then prereq1 will be
updated as well. This becomes important if we add target2 to the
original makefile:

target1: prereq1 prereq2
target2: prereq2

prereq2: | prereq1

Now if you say 'make target2', prereq1 will be updated even though
it's not needed. BTW, this is related to out earlier discussion
about .WAIT vs "truly order-only prerequisites".

hth,
-boris



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to