When we compile cpp files to object files, we also generate a file listing all source and header file dependencies for use by make in incremental rebuilds. Through another mechanism, that dependency file itself is listed as a dependency for compiling the cpp file into an object file.
However, the modification time of the generated dependency file can end up being more recent than the object file, causing it to require a rebuild on the next make. On at least some systems, some files seem to be able to do this consistently:
One potential solution would be to touch the generated object file after compiling as part of the object file generation make recipe. I'm not sure what the implications of this would be though.
When we compile cpp files to object files, we also generate a file listing all source and header file dependencies for use by make in incremental rebuilds. Through another mechanism, that dependency file itself is listed as a dependency for compiling the cpp file into an object file.
However, the modification time of the generated dependency file can end up being more recent than the object file, causing it to require a rebuild on the next make. On at least some systems, some files seem to be able to do this consistently:
Any such file will end up always 'requiring' a rebuild on every invocation of make.