www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/09/21:07:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001110020714.209.qmail@web112.yahoomail.com>
Date: Thu, 9 Nov 2000 18:07:14 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: make question
To: CGuerra AT brocker DOT co DOT nz, cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- CGuerra AT brocker DOT co DOT nz wrote:
> Hi all,
> 
> I'm trying to compile Java files.  Then I have
> 
> .SUFFIXES = .java .class
> 
> all: Base.class
> 
> .java.class:
>      javac $<
> 
> My question is, how can I tell "make" to look NOT in the current directory
> for Base.class for the comparison??  I like to separate source code from
> classes.  But I don't like 'make' to remake the whole thing because it
> couldn't find the target class.
> 
> THanks in advance,
> 
> Carlos.
> cguerra AT brocker DOT nz DOT co
> 
> PS: please reply to my email as well ;-)
> 

Check the make documentation for a variable called VPATH.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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