Philip Herron wrote:
What i would like to do is have sperate Makefile.am in each subdir that
just compile to object files that in the src/Makefile can link into the
main binary. Or is this the wrong way of thinking about the problem?
Just if in one of those subdirs it may be nice to have a seperate
program but i want to link in some of the code to the main program.

If you don't mind using libtool, please have a look here
http://www.gnu.org/software/automake/manual/automake.html#Libtool-Convenience-Libraries

Cheers,
Peter

--
Peter Johansson

svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer,       http://dev.thep.lu.se/yat



Reply via email to