%% "Ricky Venable" <[EMAIL PROTECTED]> writes: rv> I've noticed that my makefile had a good deal of overhead looking rv> for object files. For a clean build, my makefile searches through rv> all of VPATH looking for the object files. I only store object rv> files in one directory, so it is a waste of time for make to rv> search all of the source directories for object files, when I know rv> they are not in there. I hoped that the statement "vpath %.o" rv> would clear the path for all .o files, but of course it still rv> looks through all of the VPATH directories. The only solution I rv> can think of is to not even use VPATH, but to use vpath for each rv> of my file types. This of course looks more clumsy, so I am rv> wondering if there is another way.
The only way to avoid the VPATH search, if VPATH is set, is to use fully-qualified pathnames. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make
