Everything

-MM [V2.03.00 or later]


< Compile Options / Dependency File Output Specification Options >

[Format]

-MM

 

-

[Default]

Processing continues without analyzing dependencies. A header file dependency file is not output.

[Description]

-

This option analyzes only the header file dependencies for the input file, and then outputs the results to a file.

-

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

-

You can specify the file name to be output by using the -MF option.

[Example]

ccrx test.c -isa=rxv3 -MM

-

<C source>

<test1.h>
#include "test2.h"
<test2.h>
// void
<test.c>
#include <stdio.h>
#include "test1.h"

-

<Output file>

test.obj: test.c
test.obj: test1.h
test.obj: test2.h

Note 1.

The output might include a path.

Note 2.

The example shows only some of the files in the output file. The actual output file contains all files with dependencies.

[Remarks]

-

The following two types of header files are output:

-

File included by specifying the -preinclude option

-

File included by specifying #include "file-name"

-

Note that the file included by specifying #include <file-name> is not output.