This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armcc compile opition --depend_dir

In help files,i see

--depend_dir=directory_name

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

Result:

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

then I mkir depend&obj
run command armcc -c --output_dir=obj f1.c f2.c --depend_dir=depend --depend=deps

but my result is

depend/deps
obj/f1.o
obj/f2.o

I just get 1 depend file,so my question is how to use --depend_dir opition.

This is my system infomation
My computer os is win7 x64-sp1

IDE-Version:
µVision V5.10.0.2
Tool Version Numbers:
Toolchain: MDK-ARM Standard Version: 5.10.0.0
Toolchain Path: C:\Keil_v5\ARM\ARMCC\bin\
C Compiler: Armcc.Exe V5.04.0.49
Assembler: Armasm.Exe V5.04.0.49
Linker/Locator: ArmLink.Exe V5.04.0.49
Librarian: ArmAr.Exe V5.04.0.49
Hex Converter: FromElf.Exe V5.04.0.49
CPU DLL: SARMCM3.DLL V5.10.0.0
Dialog DLL: DARMSTM.DLL V1.65.0.0
Target DLL: Segger\JL2CM3.dll
Dialog DLL: TARMSTM.DLL V1.64.0.0

0