My understanding is that Ninja rebuilds targets when their in files are newer than the outs, based on mtime.
in
out
However, I\'m not able to fool Ninj