On Tue, 2008-12-02 at 15:17 -0700, Davidson, Josh wrote: > I am experiencing a weird issue with order-only prerequisites in GNU > Make v3.8. My expectation is based on the following statement from > section 4.2 Types of Prerequisites of the GNU Make manual: “Also, you > may still declare multiple lines of prerequisites for the same target: > they are appended appropriately.”
That should be clarified to be only relevant to explicit rules. Pattern rules can never have multiple target definitions, even if some are order-only definitions, because any pattern rule statement that doesn't contain any recipe _deletes_ that pattern rule. See the GNU make manual for details on this behavior. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
