[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to declare dependency over every files under current directory?
From: |
Paul D. Smith |
Subject: |
Re: how to declare dependency over every files under current directory? |
Date: |
Mon, 25 Jun 2001 23:15:57 -0400 |
%% Jack Zhou <address@hidden> writes:
jz> but how do I add the directories where those found
jz> classes reside to the VPATH?
You don't, and you don't need to or want to. VPATH is not appropriate
for finding derived objects like .class files. See my web site below
for some information on the uses (and mis-uses) of VPATH.
jz> If I simply add the class file names, make will not find them
jz> unless I add their paths to VPATH.
???
The find command of course returns the full path to the class files, not
just the file names. There's no need to use VPATH.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> 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