You copied the Doc URL to your clipboard.

--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
Was this page helpful? Yes No