Everything

 

-MD [V2.08.00 or later]


This option outputs the header file dependency file for the input C source file and continues compilation.

[Specification format]

-MD

 

-

Interpretation when omitted

Dependencies are not analyzed. A header file dependency file is not output.

[Detailed description]

-

This option analyzes the header file dependencies for the input file, and then outputs the results to a file.
Compilation processing is also performed.

-

The output file name is the same as the input file name with the extension replaced by “dep”.

-

You can specify the output file name by specifying this option together with the -MF option.

-

This option is invalid if the -M or -MM option is also specified.

[Remark]

-

For details about output files, see the description of the -M option.