Skip to main content

IAR Embedded Workbench for Arm 9.70.x

-Y

In this section:
Syntax
-Y[path]
Parameters

path

The path to the location of the output file that contains the list of dependency files. Note that you cannot include a space before the path.

Description

Use this option to list each source file opened by the assembler in a file.

By default, the path is null, so the filename corresponds to the source filename. The -Y option lets you specify a path, for example, to direct the file to a subdirectory.

Note

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

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.