bug-make
[Top][All Lists]
Advanced

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

Re: Potential Bug: `.PHONY` targets and order-only prerequisites


From: Dmitry Goncharov
Subject: Re: Potential Bug: `.PHONY` targets and order-only prerequisites
Date: Wed, 18 May 2022 21:46:53 -0400

On Wed, May 18, 2022 at 5:37 PM Jacob Kopczynski
<jacob.kopczynski@luthersystems.com> wrote:
>>   - it might make sense to state explicitly that order-only prereqs
>>     which are phony behave in all ways like standard prerequisites.

This statement is simply incorrect.
Order-only prerequisites which are phony do not behave like regular
prerequisites.
An order-only prerequisite which is phony is rebuilt every time, but
still does not cause those targets, which depend on this order-only
phony prerequisite, to be rebuilt.

regards, Dmitry



reply via email to

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