Using cygwin "make"

Bernard Dautrevaux Dautrevaux@microprocess.com
Wed Jan 17 06:16:00 GMT 2001


> -----Original Message-----
> From: John Melody [ mailto:john@sybernet.ie ]
> Sent: Wednesday, January 17, 2001 2:10 PM
> To: Fleischer, Karsten (K.)
> Cc: cygwin@cygwin.com
> 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:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /