4.6.7.5 MD: Write Dependency Information To File Option

The -MD option writes dependency information to a file.

This option is similar to -M but the dependency information is written to a file and compilation continues. The file containing the dependency information is given the same name as the source file with a .d extension.