Can a false timestamp on a makefile break a build?
Today, I tried to run a building script on sources that were in a mounted NAS directory. During the build, I received a warning saying that one of the cmake generated files had a modification time 13 s in the future. Subsequently the build failed, because a header file could not be found. Now, this building script has never given me any troubles before, and the header file was exactly where it was supposed to be, so I was quite puzzled by the error. However, when I inspected the cmake generated file with the false timestamp, it turned out to contain the CCX_INCLUDES. This makes me suspect that the timestamp is in fact the cause of the problem, but I do not understand how it can influence the build. Could someone please shed a light on this?
Trying to add a 'clean' target to a Makefile
No rule to make target error halfway down the make
Supress Makefile output when calling Make
Scrambled arguments when building OpenJDK
What is right syntax of testing emptyness of value returned by a function and why?
Makefiles: can 'canned recipes' have parameters?
Object files are not created in sub directory but in main directory
How can I break a variable definition across multiple lines in a Makefile without spaces?
Pattern Rules and Multiple Directories in Makefiles
Converting makefile project to CMake
Makefile? make doesn't have any commands at all?
Wildcard in a pattern rule
Makefile: is it possible to have stem with slash?
Syntax error: word unexpected (expecting “)”)?
makefile determining order of latex input files
Why the error “no rule to make target 'it'” when the makefile is like this?