%% Ethan VonderWeid <[EMAIL PROTECTED]> writes:
ev> %.class : %.java
ev> $(JAVAC) $(JFLAGS) $<
ev> the commands to the java compiler tell it to put the compiled
ev> class files into the directory that I've set vpath to look in.
ev> from me reading, I was under the impression that if a target, say
ev> x.class, was found in the vpath search directory and it's mod date
ev> was later than the prerequisite, say x.java, that x.java would not
ev> be recompiled.
No. VPATH is not intended to be used for targets. It won't work.
ev> where am I going wrong here?
See the discussion of VPATH and its use (and misuse :) on my web site
below.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist