This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make question


--- CGuerra@brocker.co.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@brocker.nz.co
> 
> PS: please reply to my email as well ;-)
> 

Check the make documentation for a variable called VPATH.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]