This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Mixing C and C++


----- 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]