[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: |
Sat, 21 May 2022 14:34:28 -0400 |
On Sat, May 21, 2022 at 12:25 PM Paul Smith <psmith@gnu.org> wrote:
> Maybe what you're saying is that make should throw an error or warning
> if you try to add an order-only prerequisite to a phony target, telling
> you that it will have no effect on your makefile?
Having a phony target depend (usually indirectly, but there are
examples of immediate dependency) on an order-only prerequisite is
quite common. This happens when the top target is marked phony and
there is an order-only prerequisite down the graph.
regards, Dmitry
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, (continued)
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Paul Smith, 2022/05/17
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Martin Dorey, 2022/05/17
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Paul Smith, 2022/05/17
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Jacob Kopczynski, 2022/05/18
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Paul Smith, 2022/05/18
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Jacob Kopczynski, 2022/05/18
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Dmitry Goncharov, 2022/05/18
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Paul Smith, 2022/05/21
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Alejandro Colomar, 2022/05/21
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Paul Smith, 2022/05/21
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites,
Dmitry Goncharov <=
- Re: Potential Bug: `.PHONY` targets and order-only prerequisites, Paul Smith, 2022/05/21