Windows XP and make 3.80

2006-05-05 Thread Pablo Alarcón Pavez

Hello People,

I'm attaching a very simple makefile that have some problem with command 
interpreter on Windows XP. I haven't found something on the 
documentation and i'm still trying to figure out if is it there a 
problem on my set up.


Command: make clean
OS: Windows XP version 2002, service pack 2
make version: 3.80

It interprets rmdir /q /s lib as rmdir /q, rmdir /s and rmdir lib with 
errors.


I'll appreciate any feedback!

Thank's and best regards,
Pablo
YX Wireless S.A.
www.yx.cl

# clean - deletes everything that can be rebuilt

maintgt:
@echo main target

.PHONY: clean 
clean: 
@echo make version 3.80 and Windows XP 2002 SP2
rmdir /q /s lib
___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


Re: Windows XP and make 3.80

2006-05-05 Thread Eli Zaretskii
 Date: Fri, 05 May 2006 10:14:38 -0400
 From: =?ISO-8859-1?Q?Pablo_Alarc=F3n_Pavez?= [EMAIL PROTECTED]
 
 Command: make clean
 OS: Windows XP version 2002, service pack 2
 make version: 3.80
 
 It interprets rmdir /q /s lib as rmdir /q, rmdir /s and rmdir lib with 
 errors.

Do you have an rmdir.exe program somewhere on your PATH?  Or perhaps
you have a Unixy shell sh.exe somewhere?  If so, Make will invoke
those Unix-style rmdir commands in preference to the cmd.exe built-in.

If you want to be sure the cmd's rmdir is invoked, I suggest to modify
your Makefile as follows:

clean: 
@echo make version 3.80 and Windows XP 2002 SP2
cmd.exe /c rmdir /q /s lib


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make