Hi Seb, * Seb James wrote on Fri, May 08, 2009 at 09:54:27AM CEST: > The Makefile.ams are written so that this builds a binary and a library: > > mainprog and libproject(.a, .so) > > If the project is configured with default options, then a change to code > in libcodefiles.cpp will lead to a re-compilation of libcodefiles.cpp > and mainprog.cpp. > > However, if I reconfigure like this: > > ./configure --enable-static --disable-shared > > Then make clean && make will generate a mainprog with libproject > statically linked into the executable. So far so good. > > However, if I change libcodefiles.cpp and re-call make, libproject is > recompiled, but the executable mainprog is not re-linked.
Please post both Makefile.am files. Thanks, Ralf