> Thanks to everyone who wrote back! FWIW, the simplest solution for my
> purposes turned out to be the addition of the following line:
>
> Markus Fritz wrote:
> >
> > Just use
> >
> > vpath %.class $(ROOT)/classes
> >
> > in your makefile
>
>
> Cheers,
> -Armen
>
Please, Just out of interest, what does ``vpath'' do ?
>
> >
> > Armen Yampolsky wrote:
> > >
> > > I have a problem with this approach and using make, (probably because
> > > I'm not using make correctly), in that if I use the -d option and use a
> > > separate .class directory tree, make doesn't recognize the up-to-date
> > > files there and recompiles everything anyway. I can never get the
> > > "Nothing to be done for `CLASSES'" message when my Makefile looks like
Cheers
Peter
--
import java.std.disclaimer.*; // "Dontcha just love the API, baby bop!"
Peter Pilgrim Dept:OTC Derivatives IT,
Deutsche Bank (UK) Ltd, Groundfloor 133 Houndsditch, London, EC3A 7DX
Tel: +44-545-8000 Direct: +44 (0)171-545-9977 Fax: 0171-545-4313
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-