delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/14/13:00:31

From: geoffr2 AT aol DOT com (Geoff Robinson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How Can Makefiles Handle Source File in Extraneous Directories?
Date: 14 Aug 2003 09:47:28 -0700
Organization: http://groups.google.com/
Lines: 20
Message-ID: <978b35e2.0308140847.254068cf@posting.google.com>
References: <978b35e2 DOT 0308130707 DOT 1f7d42bf AT posting DOT google DOT com> <bhdqf2$9al$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
NNTP-Posting-Host: 192.35.35.35
X-Trace: posting.google.com 1060879648 27164 127.0.0.1 (14 Aug 2003 16:47:28 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 14 Aug 2003 16:47:28 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I can't get this thing to work.  Do you know of any Windows-based
examples I could look at?  I'm finding it exceedingly hard to find
documentation for this specific problem.

Secondly, I'm not sure if there is any way around putting in a drive
letter.  That may be a problem, but I'm willing to accept the risk.

thanks again,
Geoff


> 
> That's what the VPATH feature is for.  Note that it only works if
> filenames in different directories are all distinct, though.  I.e. you
> can't have both foo/bar.c and baz/bar.c in your project at once.
> 
> And if at all possible, do *not* use drive letters, and especially not
> backslashes as directory separators in your target lists.  It may work
> a good part of the time, thanks to Eli's and other people's efforts,
> but don't count on this to be reliable.

- Raw text -


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