On Sun, Feb 16, 2020 at 5:35 PM Peter Dons Tychsen <donpe...@tdcadsl.dk> wrote:
> There are no implicit rules used in the example AFAIK.

'%-sim: %' is the intended implicit rule that make does not look for
because rr1-sim is phony.


> They are all phony, but not implicit unless i am missing something.
Targets could be phony. Rules could be implicit.


> Still, it does not explain why marking the addtional rule as PHONY
> changes the result.

There is no such thing as 'marking the addtional rule as PHONY'.
As soon as 'PHONY: $(PHON2)' line is removed rr1-sim is no longer a
phony target and make finds
implicit rule %-sim: % to build this target.

regards, Dmitry

>
> I think the example is valid.
>
> Thanks,
>
> /pedro
>
> > >
> > >

  • Phony targets... christian
    • Re: Phon... Dmitry Goncharov via Bug reports and discussion for GNU make
      • Re: ... Peter Dons Tychsen
      • Re: ... Dmitry Goncharov via Bug reports and discussion for GNU make
        • ... Peter Dons Tychsen

Reply via email to