Subject: RE: Using cygwin "make"
From: Bernard Dautrevaux <[email-masked]>
To: "'John Melody'" <[email-masked]>, "Fleischer, Karsten (K.)" <[email-masked]>
Cc: [email-masked]
Date: Wed, 17 Jan 2001 14:44:01 +0100

> -----Original Message-----
> From: John Melody [mailto:[email-masked]]
> Sent: Wednesday, January 17, 2001 2:10 PM
> To: Fleischer, Karsten (K.)
> Cc: [email-masked]
> Subject: RE: Using cygwin "make"
> 
> 
> 
> Karsten, 
> 
> I have tried both and neither works. 
> 
> It never seems to execute the cd correctly.
> 
> With the following definitions 
> CLASSES=D:\classes 
> 
> The command
>  
> D:\work>make --win32 -f d:\work\squash02\Makefile jar 
> gives me the following output 
> cd D:\classes ; jar -cvf 
> d:\cm-build\checkmate-0.7.0\lib\classes.jar squ/
> The filename,directory name or volume label syntax is incorrect 
> make ***[jar] Error 1 
> D:\work>
> 
> All the directories do exist but I just can't see what is wrong. 
> Any help would be greatly appreciated. 

Don't forget that make is using "sh" to execute the command, so the '\' is
eaten by the shell. You sould use "CLASSES=D:\\classes",
"CLASSES=D:/classes" or even better (as the colon may fool up make if
$(CLASSES) is used somewhere in a dependency list)
"CLASSES=/cygdrive/D/classes".

HTH

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	[email-masked]
		[email-masked]
-------------------------------------------- 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple