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,