Everything

-MM [V2.04.00 or later]


< Assembler Command Options / Dependency File Output Specification Options >

[Format]

-MM

 

-

[Default]

No dependency file is output.

[Description]

-

This option outputs the dependencies of the input file, as specified by the .INCLUDE assembler directive, 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]

-

To output the dependencies to “test.dep”, describe as:

asrx -isa=rxv3 test.src -MM

<test.src>

.include inc1.inc
.include inc2.inc
.END

<inc2.inc>

.include inc3.inc

Note

“inc1.inc” and “inc3.inc” will be empty files.

 

<Output contents>

test.obj: test.src 
test.obj: inc1.inc
test.obj: inc2.inc
test.obj: inc3.inc

[Remarks]

-

When multiple input files are specified, only the dependency file for the last input file is output.