[Top][All Lists]

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

Re: Starting "make" in subdirectory rather than root

From: Roger Leigh
Subject: Re: Starting "make" in subdirectory rather than root
Date: 18 Nov 2002 18:54:03 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Stephen Torri <address@hidden> writes:

> On Mon, 2002-11-18 at 08:23, Earnie Boyd wrote:
> > As long as the sub-project didn't have dependencies on the other parts, 
> > your sound developer should be able to configure, cd Z and make.  You 
> > could even create a for Z that would just configure that 
> > portion.  If Z does have dependencies on other parts then make sure 
> > they're satisfiable via the generated makefile.
> > 
> > Earnie.
> How would you make sure that dependencies on other parts are satisified?

Just add a dependency on a relative filename, and a rule to make that

bin_PROGRAMS = foo
foo_SOURCES = bar.c
foo_LDADD = $(top_builddir)/mylib/

        cd $(top_builddir)/mylib; \
        make mylib

Roger Leigh
                "Liberty and Livelihood" - Support the Countryside Alliance
                Printing on GNU/Linux?
                GPG Public Key: 0x25BFB848 available on public keyservers

reply via email to

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