help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with cleaning up a working GNU Autotools setup


From: Sune
Subject: Re: Need help with cleaning up a working GNU Autotools setup
Date: 8 Oct 2005 13:35:16 -0700
User-agent: G2/0.2

I think you're close. What I do right now is that I execute 'make' to
use the Makefile in the base directory rsd/ which I have configured
with Automake's Makefil.am like this:

AUTOMAKE_OPTIONS = foreign
SUBDIRS = collections debug global

This means that 'make' goes about its business recursively in
'collections/', 'debug/' and 'global/'. However I would like to get
some information on how I can configure Automake's Makefil.am in each
of these 3 directories and direct the targets to eg:
collections/--+--obj/*.o
              |
              +--lib/libcollections.a
              |
              +--bin/collections

Right now *.o, libcollections.a and collections end up in the
'collections/' directory together with my source files which is quite
messy.

Of course I want 'make clean' and the rest of the neatness to work, and
I want this to work by configuring Makefile.am. However, not too many
seems to be familiar with GNU's Autotools (like myself). Do you know
how to get this to work?

Thanks for helping out
/Sune



reply via email to

[Prev in Thread] Current Thread [Next in Thread]