delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/07/12:50:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: makefile syntax %.d:%.c misunderstood
Date: Mon, 7 Jun 2004 17:49:16 +0100
MIME-Version: 1.0
In-Reply-To: <000401c44cad$96d12a80$3901a8c0@sed1500>
Message-ID: <NUTMEGcew8k69RKLpgT00000201@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 07 Jun 2004 16:49:16.0437 (UTC) FILETIME=[5EA97C50:01C44CAF]
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019