|
| From: | Mark Galeck (CW) |
| Subject: | RE: this is embarrasing... prerequisiste gets updated, but make still says it is older than target |
| Date: | Mon, 2 Apr 2012 05:55:28 -0700 |
>This is not different. The order-only prerequisite means that the
"resources" target is not considered by make when it decides whether or
not to rebuild foobar1. So make never tries to rebuild 'foobar1' (you
can see this in the output).
Fine, same behaviour, one more step. This time you have a "normal"
prerequisite.
.PHONY: phony
foobar: foobar1
touch $@
foobar1: foobar2 | resources
touch $@
resources: phony
touch foobar1
touch $@
I badly need the clarification of exactly when is the checking of timestamps of
the "normal" (Not order-only) prerequisites, done for the purpose of deciding
whether the target needs to be updated. Please.
| [Prev in Thread] | Current Thread | [Next in Thread] |