AnsweredAssumed Answered

.mak file is not updated when changing the name of an #include file

Question asked by Yaniv.Sapir on Jan 20, 2010
Latest reply on Jan 20, 2010 by kenb3

Hi,

 

I have a C program that includes some header and data files. Occasionally, I am changing the name of an included file (e.g.. "file_1.txt" becomes "file_2.txt"). I usually do this change from an external editor (I like Vim). When the new program is updated in the IDE and a build attempt is performed, I receive the following error message:

 

---------------------------

 

C:\Program Files\Analog Devices\VisualDSP 5.0 10x\gmake-378: *** No rule to make target `file_1.txt', needed by `Debug/ProjectX.doj'.  Stop.
No valid command(s) to build.
Build was unsuccessful.

 

---------------------------

 

In order to overcome this, I found out that the only solution is to edit the .mak file itself and erase teh reference to the "file_1.txt" file.

 

How can I make VDSP re-generate the makefile, considering changes to the source code?

 

Thanks,

Yaniv.

Outcomes