2.1.27. --depend=filename

This option instructs the compiler to write make file dependency lines to a file during compilation.

Syntax

--depend=filename

Where:

filename

is the name of the dependency file to be output.

Restrictions

If you specify multiple source files on the command line then any --depend option is ignored. No dependency file is generated in this case.

Usage

The output file is suitable for use by a make utility. To change the output format to be compatible with UNIX make utilities, use the --depend_format option.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential