The precedence of the makefiles is makefile.rc followed by makefile.mk . The makefile.rc includes the makefile.mk . The use of the -u flag can result in unnecessary builds of objects because of the recursive nature of the dependencies. Do not use this option unless you are sure you understand what you are doing. This causes an error because the generated headers are built elsewhere.
Some object files appear in more than one target.
When dmake uses one of these object files in a build, it updates the timestamp on the file. The dmake tool then uses this timestamp to ensure that the object file is built in the correct order, and also to apply the correct build switches to the object file. If this timestamp is ignored, dmake builds the object a second time, this time with incorrect switches. Remove existing built targets. This parses the database generated by the incparse tool and writes the include statements to standard output.