You can't use vpath to put targets in different places.  See the "how
not to use vpath" paper at my site below.

You will have to write your rules using the directories:

    $(OBJDIR)/%.o : %.c

    $(LIBDIR)/%.so :

    $(BINDIR)/prog:

-- 
-------------------------------------------------------------------------------
 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

Reply via email to