[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The automake/libtool way to make a dynamic lib from multiple sources
From: |
Ryan McDougall |
Subject: |
Re: The automake/libtool way to make a dynamic lib from multiple sources |
Date: |
Fri, 22 Sep 2006 11:10:40 +0900 |
On Thu, 2006-09-21 at 13:32 +0200, Ralf Wildenhues wrote:
>
> The second approach will enable you to
> make libA.la
>
> in the toplevel directory. Otherwise, there is nothing that prevents
> you from adding your own targets a la
> A:
> cd src/A && $(MAKE) $(AM_MAKEFLAGS) libA.la
> .PHONY: A
>
> just as in ordinary makefiles.
>
> Cheers,
> Ralf
>
The problem with this is that with this method that I have to manually
specify the dependencies, right?
A: foo
cd src/A && $(MAKE) $(AM_MAKEFLAGS) libA.la
.PHONY: A
foo:
cd src/foo && $(MAKE) $(AM_MAKEFLAGS) libfoo.la
.PHONY: foo
etc ...
Cheers,
Re: The automake/libtool way to make a dynamic lib from multiple sources,
Ryan McDougall <=