Paul LAURENT <[EMAIL PROTECTED]> writes: > First of all, I understood this about "order-only-prequisities" : > > If a rule only depends on an order only requisities, it means that the > target will only be rebuilt upon the prequisity existence condition > (instead of the modified time condition)
No, the target will be rebuilt only if it does not exist. Order-only prerequisite's existence or modified time does not affect target's up-to-date-ness. > I joined the short Makefile "order-only.mk" and a script which runs > this Makefile. This should reproduce the strange behaviour I noticed. I tested your makefiles using make from CVS and it appears to behave as expected. I also could verify that the problem exist in 3.80. I suspect 3.81beta3 should works as well. You can get it here: ftp://alpha.gnu.org/gnu/make/ hth, -boris _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
