Here is a boiled down example:

Make a subdirectory foobar in your current directory, and put a file foo in 
there.

The makefile is


VPATH = \
foobar \
foobar \
foobar \
(... repeated 1000 times)

foo:



Now, if I type
>make foo

On my computer it takes 12 seconds!  With VPATH reduced to one foobar, make foo 
is immediate.

I tried vpath, same problem.  Can someone tell me, how to prevent make from 
going through all those directorys when it already found what it is looking 
for??

>The GNU make manual says:  " In the VPATH variable, directory names are 
>separated by colons or blanks. The order in which directories are listed is 
>the order followed by make in its search."

This does not work for me:


Mark


_______________________________________________
Help-make mailing list
Help-make@gnu.org
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to