AnsweredAssumed Answered

How to generate a separate dependency file for each c file (not a dependency file for a whole project)

Question asked by caihaoxiong on Sep 28, 2015
Latest reply on Oct 7, 2015 by caihaoxiong

in make file example, if add following command:

       DEP_LIST_FILE = $(PROJECT).dep

a  dependency file for a whole project will be generated,how to generate a separate dependency file for each c file (not a dependency file for a whole project), for example,

a project have 3 c files:

file1.c

  file2.c

  file3.c

and how to generate dependency files:

file1.dep for file1.c

file2.dep for file2.c

file3.dep for file3.c

Outcomes