[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Phony targets not being made
From: |
Peter Dons Tychsen |
Subject: |
Re: Phony targets not being made |
Date: |
Mon, 17 Feb 2020 10:49:20 +0100 |
User-agent: |
Evolution 3.32.5 (3.32.5-1.fc30) |
Hi Dmitry
> '%-sim: %' is the intended implicit rule that make does not look for
> because rr1-sim is phony.
Ah, yes i missed that the pattern rule was also an implicit rule.
> 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
Yes, i meant the target, not the rule.
> phony target and make finds
> implicit rule %-sim: % to build this target.
OK, thanks for clearing this up.
I also found this in the docs:
"The implicit rule search (see Implicit Rules) is skipped for .PHONY
targets. This is why declaring a target as .PHONY is good for
performance, even if you are not worried about the actual file
existing".
Thanks for the help.
/pedro