Thanks, now it works
2006/5/30, Ralf Wildenhues <[EMAIL PROTECTED]>:
Hi Dario,
* Dario Meloni wrote on Tue, May 30, 2006 at 12:40:22AM CEST:
> Hi,
> I am trying to setup an automake script to build 3 library which each
> one, except the first, depends on the others preceding libraries (they
> are IL,ILU and ILUT).
>
> the folder are disposed like this, with the main makefile in the root
> directory
> src-IL/
> src-ILU/
> src-ILUT/
>
> actually to accomplish this the ld flags had these line for ILU:
> -L$(top_srcdir)/src-IL/src
>
> and these for ILUT:
> -L$(top_srcdir)/src-IL/src
> -L$(top_srcdir)/src-ILU/src
Since they are in the same build tree, you should write instead
../src/IL/src/libIL.la
../src/ILU/src/libILU.la
Then everything will work as intended.
Cheers,
Ralf