This option specifies the target name to be output to the header file dependency file.
[Specification format]
- | Interpretation when omitted |
The target name to be output to the header file dependency file is specified from the input file.
[Detailed description]
- | This option specifies the target name to be output to the header file dependency file. |
- | This option is ignored unless the -M or -MM option is specified. |
- | If character-string is omitted, an error occurs. |
- | If multiple character-strings are specified, they are all handled as targets. |
Use a space as a delimiter between the specified character-strings.
- | If a character-string includes a space, use a backslash character (\) as an escape character. |
[Example of use]
ccrl test.c -cpu=S3 -M -MT=target1 -MT=target2
|
<test1.h>
#include "test2.h"
|
<test.c>
#include <stdio.h>
#include "test1.h"
|
target1 target2: test.c
target1 target2: stdio.h
target1 target2: test1.h
target1 target2: test2.h
|
Caution 1. | The output might include a path. |
Caution 2. | The example shows only some of the files in the output file. The actual output file contains all files with dependencies. |