magic variables for included fragments (was: Feature request)

2008-10-12 Thread Ralf Wildenhues
* Akim Demaille wrote on Wed, Sep 24, 2008 at 10:01:01AM CEST: > Le 23 sept. 08 à 23:08, Ralf Wildenhues a écrit : >> * Akim Demaille wrote on Tue, Sep 23, 2008 at 04:35:50PM CEST: >>> >>> I'm slowly getting rid of my recursive Makefiles. Instead I have one >>> local.mk per directory, and a few Ma

Re: Depend on a local library in a different source directory

2008-10-12 Thread Ralf Wildenhues
Hello Sylvain, Thomas, Please don't top-post, and please keep the list in Cc:, thanks. * Sylvain Beucler wrote on Sun, Oct 12, 2008 at 08:44:45PM CEST: > > Is there also a way to automatically (re)build '../mylib.la' when I > issue 'make' in 'lib/python/'? put this in lib/python/Makefile.am: .

Re: Depend on a local library in a different source directory

2008-10-12 Thread Sylvain Beucler
Hi, Thanks, this works. Is there also a way to automatically (re)build '../mylib.la' when I issue 'make' in 'lib/python/'? -- Sylvain On Sun, Oct 12, 2008 at 01:21:39PM -0500, Thomas Epperson wrote: > Try placing this in the makefile.am for the lib folder. > SUBDIRS = . python > > That shoul

Depend on a local library in a different source directory

2008-10-12 Thread Sylvain Beucler
Hi, I have the following layout: lib/ lib/Makefile.am lib/mylib.la lib/python/ lib/python/Makefile.am lib/python/_pymylib.la When building, 'make' enters 'lib/python/' first without building 'mylib.la'. Since '_pymylib.la' depends on it, compilation fails. Another example: I have