* Peter Johansson wrote on Wed, Mar 04, 2009 at 06:19:30AM CET:
> John Wohlbier wrote:
>>
>> Does automake allow for automatically building lib2 when make is typed
>> within lib1? If so, how is it done? If not, is this an unreasonable thing to
>> expect the dependencies to handle?
>>   
> I see two solutions to this.
>
> 1) Move directory lib2 to be a SUBDIR of lib1
>
> 2) or add the following in lib2/Makefile.am
[...]

3) Use a nonrecursive makefile setup; add lib2/lib2name.la to
lib1_lib1name_la_LIBADD if that is what you need.  Of course
then you cannot type 'make' in either lib[12], but you could
put helper makefiles there to "cd .. && $(MAKE) ...".


Reply via email to