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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,326 Views
caihaoxiong
Contributor I

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

Labels (1)
0 Kudos
Reply
2 Replies

1,139 Views
trytohelp
NXP Employee
NXP Employee

Hi,

What is the development tool used ?

MCU v10.x or classic version ?

To do that you must:

  Under CodeWarrior IDE (classic)

                Start the IDE and click on Help | About Freescale CodeWarrior.

                Click on Installed Products

                Provide us all info displayed.

                Or you can save them in a txt file.

  Under Eclipse IDE

    1-        Start Eclipse and click on Help ¦ Freescale Licenses

                The Status column gives the status of the license.

                The Version Column gives the tool version used.

Under Product, select it and click on details.

                A new dialog show up giving license details.

    2-        Start Eclipse and click on Help ¦ About CodeWarrior Development Studio

Under Installed Products, you will see the version used.

    3-        Some patches can be installed too.

Most of the time Release_Notes should be added in the \MCU (for CW for MCU) folder.

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,139 Views
caihaoxiong
Contributor I


Hu Pascal,

Thanks for your answer. This problem is solved  after add one option:

-Li

I get result that each c file has a separate dependency file.

development tool: HCS12 v5.1 professional

Thanks

0 Kudos
Reply