If I want to write a rule that depends on a file timestamp being up to date compared with another file timestamp, is there a way to do that with @needs? Or is it something that you just do using path inside the rule itself? (that is, the first thing inside the rule is to check timestamps and if the target is newer than the dependency, just return).
I haven't been able to find any reference or examples talking about this.