On Mon 07 Mar 2005 03:54, Andre Caldas wrote: > I cannot solve your original, problem... but here is how I build > subdirectories: "convenience libraries" > > You have subdirectories in this project of yours because you need to > organize the sources into groups. Well, you could make each group into a > convenience library, and then link them at the end (the top directory > will be build last). This does *not* mean you will have to install > libraries. > > For example: > > SUBDIRS = store colors > ktoon_SOURCES = main.cpp > ktoon_LIBADD = store/libstore.la colors/libcolors.la > > > In store/Makefile.am > > noinst_LTLIBRAIRES = libstore.la > libstore_la_SOURCES = animation.cpp brush.cpp camera.cpp > > > I hope you find this useful :-) >
Yep, it worked :) I just had to add two other lines so needed includes and moc files where found during compilation: METASOURCES = AUTO INCLUDES = $(all_includes) -I../src noinst_LTLIBRARIES = libexposure.la libexposure_la_SOURCES = esframe.cpp eslayer.cpp exposuresheet.cpp ilayer.cpp Thanks for your help !! Cheers, -- Juan Luis Baptiste http://www.merlinux.org http://knetworkconf.sf.net