8.49 --depend_dir=directory_name

Specifies the directory for dependency output files.

Examples

armcc -c --output_dir=obj f1.c f2.c --depend_dir=depend

This command outputs the following files:

depend/f1.d
depend/f2.d
obj/f1.o
obj/f2.o

If you specify a dependency file, --depend=deps, then the dependency file accumulates the dependency lines from each source file, for example:

armcc -c --output_dir=obj f1.c f2.c --depend_dir=depend --depend=deps

This command outputs the following files:

depend/deps.d
obj/f1.o
obj/f2.o
Related reference
8.48 --depend=filename
8.14 --asm_dir=directory_name
8.118 --list_dir=directory_name
8.143 --output_dir=directory_name
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.