Follow-up Comment #6, bug #66500 (group make):

[comment #5 comment #5:]
> The rule for foo/tar is lacking a recipie. In this case make has no reason to
> invalidate the cached mtime of foo/tar. As explained earlier make has no idea
> that the recipie for foo touched foo/tar. Any recipie for foo/tar, even a
> empty one, is sufficient to tell make to invalidate the cached mtime of
> foo/tar.

POSIX make specification says:
"The make utility shall use the modification times of files to determine
whether the corresponding targets are out-of-date."

If timestamp caching causes different behaviour than reading them from
filesystem, it is a bug.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66500>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to