help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making to alternate directories


From: Paul D. Smith
Subject: Re: Making to alternate directories
Date: Wed, 8 Dec 2004 18:37:43 -0500

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 <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]