help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Order-only Prerequisite Bug or User Error?


From: Paul Smith
Subject: Re: Order-only Prerequisite Bug or User Error?
Date: Tue, 02 Dec 2008 17:38:32 -0500

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.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]