This one time, at band camp, Erik de Castro Lopo wrote:
>On Mon, 17 Jan 2005 13:01:24 +1100
>Ian Su <[EMAIL PROTECTED]> wrote:
>
>> This one time (2005-01-17 12:50pm), at band camp, Erik de Castro Lopo said:
>> > At the top of your Makefile.am put:
>> > 
>> >     SUBDIRS = utils gfx
>> > 
>> > and then add a Makefile.am in each of those directories.
>> 
>> I know about SUBDIRS, but what goes into the Makefile.am in the 
>> subdirectories?
>> They don't have a bin_PROGRAM= target, all I want is to compile the objects.
>> And in the top level Makefile.am, what do I put as game_SOURCES=?
>
>This is where you do what Conrad Parker suggestsed, making a static
>lib in each of the subdirs.

which is hardly intuitive, but it's because automake doesn't treat object
files as things that can be referred to in different recursion scopes, onl
programs and libraries are allowed to be used outside of the current
makefile.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to