Skip to main content

IAR Embedded Workbench for Arm 9.70.x

-y

In this section:
Syntax
-y {filename|directory}
Parameters

filename

The list of dependency files is stored in the specified file.

directory

The list of dependency files is stored in a file (filename extension d) which is stored in the specified directory.

For information about specifying a filename or directory, see Using command line assembler options.

Description

Use this option to list each source file opened by the assembler in a file. By default, the list is located in a file with the same name as the source file, but with the extension d. Use this option to specify a different output filename for the file.

The -y option cannot be used at the same time as the -Y option.

Example

If -y or -Y is used, the output file will have one make rule. The object file will be dependent on all opened input files, including the full path. For example:

  objectfile: sourcefile \
               inputfile \

Caution

This option is not available in the IDE.