>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.  

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to