Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <17B78BDF120BD411B70100500422FC6309E1CA@IIS000>
From: Bernard Dautrevaux <Dautrevaux@microprocess.com>
To: "'John Melody'" <john@sybernet.ie>,
        "Fleischer, Karsten (K.)"
	 <kfleisc1@ford.com>
Cc: cygwin@cygwin.com
Subject: RE: Using cygwin "make"
Date: Wed, 17 Jan 2001 14:44:01 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

> -----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

