This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: *.o not in src_dir
- To: Carsten Menn <menn at fzi dot de>
- Subject: Re: *.o not in src_dir
- From: "Lars J. Aas" <larsa at sim dot no>
- Date: Tue, 27 Feb 2001 20:29:20 +0100
- Cc: Raja R Harinath <harinath at cs dot umn dot edu>, automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <d9k86cui1n.fsf@han.cs.umn.edu> <200102271912.UAA29388@relay.xlink.net>
On Tue, Feb 27, 2001 at 08:12:33PM +0100, Carsten Menn wrote:
: >> I have a simple (I hope so) problem. What I want to do is
: >> to compile my project for/on different operating-systems.
: >> I want to have only one src-directory and several
: >> subdirectories like '$(srcdir)/bin-i686-linux' or
: >> '$(srcdir)/bin-sun-solaris-2.7', etc...
: >
: >Very simple.
: >
: > $ cd $(srcdir)
: > $ mkdir bin-i686-linux; cd bin-i686-linux
: > $ ../configure --prefix=...
:
: Unfortunately that's not exactly what I wanted.
: The OS and the architecture should be determined automatically.
: So it should be possible for the users of our package not to
: generate a special OS-directory by themself.
subdir=`./config.guess`;
test -n "$subdir" &&
( mkdir $subdir;
cd $subdir;
../configure --prefix=... )
Lars J
--
Innovation is one percent inspiration and ninetynine percent perspiration,
and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy'