Everything

-MP [V2.03.00 or later]


< Compile Options / Dependency File Output Specification Options >

[Format]

-MP

 

-

[Default]

The include file name is not output as the target.

[Description]

-

This option additionally outputs the include file name as the target to the dependency file.

-

An error occurs if -output=dep, -MM, -MD, or -MMD is not specified.

[Example]

ccrx test.c -isa=rxv3 -M -MP

-

<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: stdio.h
stdio.h:
test.obj: test1.h
test1.h:
test.obj: test2.h
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.