Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: makefile syntax %.d:%.c misunderstood Date: Mon, 7 Jun 2004 17:49:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" In-Reply-To: <000401c44cad$96d12a80$3901a8c0@sed1500> Message-ID: X-OriginalArrivalTime: 07 Jun 2004 16:49:16.0437 (UTC) FILETIME=[5EA97C50:01C44CAF] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i57GoQ7V026355 > -----Original Message----- > From: cygwin-owner On Behalf Of Sébastien Douheret > Sent: 07 June 2004 17:37 > To: cygwin > Subject: makefile syntax %.d:%.c misunderstood > > Hi, > i have a strongly problem with make under cygwin ! > Make don't understand this syntax %.d:%.c of my makefile. Then you've typed something wrong. Cygwin make has no problem with that format. I use it all the time successfully. > If sources files are on my local drive (eg. : > "c:\dev\sources"), make is > successful, but if my sources files are on network drive > mounted as /f, an > error occurs during compilation : > make: *** No rule to make target `../c/boardboot.d', > needed by `make_dep'. > Stop. > > Is it a problem of mount ? Most likely something's wrong in your makefile. Are you using a hardcoded VPATH that makes it work on your C drive but not any other? Can you strip down your makefile to a minimal test case that demonstrates the problem using just a single .c file and %.d:%.c rule? cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/