--- [EMAIL PROTECTED] 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.
> [EMAIL PROTECTED]
> 
> PS: please reply to my email as well ;-)
> 

Check the make documentation for a variable called VPATH.

Cheers,

=====
Earnie Boyd
mailto:[EMAIL PROTECTED]

---         <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 [EMAIL PROTECTED]

Reply via email to