help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IS @IF EXIST wont work in MAKE


From: Naik, Gouri
Subject: IS @IF EXIST wont work in MAKE
Date: Wed, 16 Jan 2008 17:50:30 +0530

Hello,

Thanks for the help.

I have one more problem

In my make file when I wrote the bellow line it is not working

 

“    @IF EXIST $(TARGET_PATH)\source.zip del $(TARGET_PATH)\source.zip”

 

Can you pls tell me what the problem in this is?

I got following error

“process_begin: CreateProcess((null), IF EXIST C:\E\7P8_Make\DBC7p8_Program\deriv

ed_objects\source.zip del C:\E\7P8_Make\DBC7p8_Program\derived_objects\source.zi

p, ...) failed.

make (e=2): The system cannot find the file specified.

Gmake: *** [CREATE_DIR] Error 2”

 

But the command

“    @del $(TARGET_PATH)\$(PACKAGE_NAME).zip” worked without any problem.

 

IS    @IF EXIST wont work in MAKE.

 

Gouri.

****************************************************************************************

Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.

****************************************************************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]