On Mon, 2008-02-11 at 11:40 +0100, John Theal wrote:
> Project  (main dir)
> 
> (subdirs)
> src
> lib

This is really an automake question, not a GNU make question.  You can
ask the automake folks by email [EMAIL PROTECTED]  The simple answer is
to just redefine SUBDIRS like this:

        SUBDIRS = lib src

so that lib is built first.  However, in normal make that won't work if
you build in parallel, since some parts of src might be built before all
of lib is complete.  I don't know enough about this aspect of automake
to tell you whether it will work properly in parallel with their
makefiles.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "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