On Sat, Sep 21, 2013 at 04:31:14PM +0200, Sven Eckelmann wrote:
The *.d depends files for make just list the files used when building an object file. Removing a file listed in such a dependency file causes make to search for a way to recreate it. This usually cannot work because these files aren't autogenerated.
The gcc option -MP can be used to generate empty rule for these files. Removing a file in a dependency list will then execute this empty rule and continue with the execution of the creation of the object file. This compilation process will then automatically correct the dependency file.
Signed-off-by: Sven Eckelmann sven@narfation.org
Applied the whole series (133331a, add63f6, ada988e, ea03057). I was a little unsure about the renaming thing (I don't like long names), but it's probably the best thing to do.
Thanks! Simon