make-w32
[Top][All Lists]
Advanced

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

Re: I found a GUN make bug in Windows 2000.


From: Liang Yang
Subject: Re: I found a GUN make bug in Windows 2000.
Date: Fri, 4 Oct 2002 09:45:29 -0700

Hi,

Thanks for your reply. This batch file comes from Tornado.

Liang

----- Original Message ----- 
From: "Greg Chicares" <address@hidden>
To: "Yang Liang" <address@hidden>; <address@hidden>
Sent: Friday, October 04, 2002 5:15 AM
Subject: Re: I found a GUN make bug in Windows 2000. 


> Yang Liang wrote:
> > 
> > --------the content of my Makefile---
> > file = tt
> > rm   = vxrm
> > clean::
> >          $(rm) $(file)
> > ------------------------------
> > 
> > vxrm is a batch file in c:\temp,
> > 
> > ----the content of vxrm.bat file ----
> > @echo off
> > :start
> > if "%1"=="" goto end
> > if exist %1 rm -f %1
> > shift
> > goto start
> > :end
> > ------------------------------------
> > 
> > I already include c:\temp in the path.
> > When I use make with version 3.79-1, I
> > got the following error report:
> > 
> > make: vxrm: Command not found
> > make: *** [clean] Error 127
> > 
> > But if I use make with version 3.74,
> > it works fine.
> > 
> > Can you tell me the reason?
> 
> Perhaps you need to do something like
> 
> > rm   = cmd /c vxrm
> 
> Why would you use this batch file anyway?
> If 'rm' is a win32 port of the unix program
> to erase files, then it already works
> correctly with multiple arguments, and is
> faster than a batch file.
> 




reply via email to

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