"Hakenson, Gary C." <[EMAIL PROTECTED]> writes:
> Do you have any suggestions as to how this may be accomplished?
When you say
VPATH = /d
you are in some sense asking make to add directory /d to the make's
current directory.
When you say
%.d : %.c
...
you are in some sense asking make to build your some foo.d from foo.c in
current directory. Which make does: it finds /d/foo.d. From this it should
be obvious that to solve your problem you should either not add /d to
the current directory (remove VPATH /d) or not ask to build foo.d in
make's current directory:
/%.d: /%.c
...
hth,
-boris
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-make