This option only outputs dependency files.
[Specification format]
- | Interpretation when omitted |
No dependency file is output.
[Example of use]
- | This option outputs the dependencies of the input file, as specified by the $INCLUDE or $BINCLUDE control instruction, to the dependency file in makefile format. It does not execute assembling. |
- | The output file name is the same as the input file name, with the extension replaced by "dep". |
[Example of use]
To output the dependencies to "test.dep", describe as:
asrl -cpu=S3 test.asm -MM
|
<test.asm>
$INCLUDE "inc1.inc"
$INCLUDE "inc2.inc"
|
<inc2.inc>
Caution | "inc1.inc" and "inc3.inc" will be empty files. |
<Output contents>
test.obj: test.asm
test.obj: inc1.inc
test.obj: inc2.inc
test.obj: inc3.inc
|
[Remark]
- | When multiple input files are specified, a separate dependency file is output for each one. |