On Mon, 3 Oct 2011 18:40:32 +0300, Konstantinos Margaritis <markos [ at ] codex [ dot ] gr> wrote: > A common mistake with automake is to add libraries to the various > LDFLAGS macros. If you need to link a program with a library, add > this library to one of the LDADD macros, if you need to link a library > with a library, add to one of the LIBADD macros. For tracking > dependencies with local libraries, you may need add the library to one > of the DEPENDENCIES macros. See the automake manual for more details. Been there, I have the t-shirt too :-)