automake
[Top][All Lists]
Advanced

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

Re: *.o not in src_dir


From: Lars J. Aas
Subject: Re: *.o not in src_dir
Date: Tue, 27 Feb 2001 20:29:20 +0100
User-agent: Mutt/1.2.5i

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'



reply via email to

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