This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Mixing C and C++
- To: "Richard Boulton" <richard at tartarus dot org>,"Eric Lemings" <eric dot b dot lemings at lmco dot com>
- Subject: Re: Mixing C and C++
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Fri, 17 Aug 2001 10:18:47 +1000
- Cc: <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <Pine.GSO.4.33.0108142004040.2156-100000@platon> <3B7BEE7A.22B8FE2D@lmco.com> <20010816171445.A11718@ixion.tartarus.org>
----- Original Message -----
From: "Richard Boulton" <richard@tartarus.org>
To: "Eric Lemings" <eric.b.lemings@lmco.com>
Cc: <automake@gnu.org>
Sent: Friday, August 17, 2001 2:14 AM
Subject: Re: Mixing C and C++
> On Thu, Aug 16, 2001 at 10:02:02AM -0600, Eric Lemings wrote:
> > Michael Matz wrote:
> >
> > Is Automake capable of building mixed C and C++ libraries? Can the
source
> > files exist in the same directory with the same base name but
different
> > suffixes?
>
> This is not currently supported.
>
> (I think it will work if you plan to only compile one of them, and
decide
> what one to compile based on an automake conditional, but that is a
fairly
> odd case and probably doesn't help you.)
>
> I'm not sure if there are plans to add this. It would require
automake to
> detect the conflict, and compile to different object files.
Automake will detect the conflict today ("a.o is created by both a.c and
a.cc"). Automagically working around this is the missing bit :}
Rob