7.38 --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
7.37 --depend=filename
7.10 --asm_dir=directory_name
7.100 --list_dir=directory_name
7.126 --output_dir=directory_name
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.