8.53 --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
Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.