On Mon, 2007-09-24 at 10:42 -0400, Roberto Alejandro Espí Muñoz wrote:
> Ok, sorry about that, I tried to simplify the example.  I really use
> much more directories
> 
> elements =    \
>      main.cpp
> 
> bin_PROGRAMS = programABC
> programABC_SOURCES =         \
>     $(elements)
> programABC_LDADD
> = ./directoryA/libdirA.a ./directoryB/libdirB.a ./directoryC/libdirC.a
> AM_CXXFLAGS = <compile flags for main >
> AM_LDFLAGS = <link flags for main >
> 
> SUBDIRS = ./directoryA ./directoryB ./directoryC
> 
> This is how it should go ...

Remove the "./"'s and it will probably work.

Ralf




Reply via email to