This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: make question
- To: CGuerra at brocker dot co dot nz, cygwin at sources dot redhat dot com
- Subject: Re: make question
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 9 Nov 2000 18:07:14 -0800 (PST)
--- 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