[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to call dos batch file from MAKE file
From: |
Greg Chicares |
Subject: |
Re: How to call dos batch file from MAKE file |
Date: |
Tue, 15 Jan 2008 19:12:30 +0000 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
On 2008-01-15 16:49Z, Naik, Gouri wrote:
>
> Whenever I call any .bat file from MAKEFILE, I will get error saying .bat
> file not found.
> can you please tell me what could be the reason.
>
> In my MAKEFILE I have written
> @CALL C:\E\7P8_Make\DBC7p8_Program\checksum.bat $1.
>
> I am getting error in the cmd promt as
> "process_begin: CreateProcess((null), CALL
> C:\E\7P8_Make\DBC7p8_Program\checksum.
> bat, ...) failed.
>
> make (e=2): The system cannot find the file specified.
'make' can recognize many "built-in" DOS commands; perhaps
CALL is not one of them. But why do you need to use CALL
inside a makefile? Can't you just write
@C:\E\7P8_Make\DBC7p8_Program\checksum.bat $1.
without CALL?