[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool : No rule to make target with LDADD
From: |
Sylvestre Ledru |
Subject: |
Re: libtool : No rule to make target with LDADD |
Date: |
Thu, 10 Aug 2006 16:49:11 +0200 |
> Sorry for the delay.
No worries !
[...]
> scilex_LDADD = routines/libscilab.la
>
> and make sure that it gets built before the program. If
> routines/libscilab.la is built from the same Makefile.am, that should
> happen automatically, given that you do _not_ have set
> scilex_DEPENDENCIES. (If you have, you have to add the library in there
> manually.)
>
> If the library is built from a different Makefile.am, make sure to have
> the proper build order so that it is built before the toplevel; see
> info Automake Subdirectories
Indeed, that was the issue. I had guessed that routines/libscilab.la will be
compiled if it is not in the same Makefile.am.
But when I changed the order in the subdir
> > After an autoreconf, configure and make, it stops with the error :
> > make[1]: *** No rule to make target `routines/libscilab.la ', needed by
> > `scilex'. Stop.
>
> The space in `routines/libscilab.la '
> ^
>
> looks fishy to me. Is that a cut'n'paste error?
nop
it is because I specificied libs like that :
plop.la \
plup.la \ ...
Thank you !
Sylvestre