ヘッダ・ファイル依存関係ファイルに出力するターゲット名を指定します。
[指定形式]
ヘッダ・ファイル依存関係ファイルに出力するターゲット名は入力ファイルから指定します。
[詳細説明]
- | ヘッダ・ファイル依存関係ファイルに出力するターゲット名を指定します。 |
- | -Mまたは-MMオプションの指定がない場合は,本オプションを無視します。 |
- | 複数指定する場合は,指定した全てをターゲットとします。 |
複数指定した<文字列>を空白1文字を挟んで結合します。
- | <文字列>に空白を含む場合は\でエスケープします。 |
[使用例]
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
|
注意 2. | 出力ファイル例は一部のみ記載しています。実際は依存関係のある全てのファイルが出力されます。 |