automake
[Top][All Lists]
Advanced

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

Re: Mixing C and C++


From: Robert Collins
Subject: Re: Mixing C and C++
Date: Fri, 17 Aug 2001 10:18:47 +1000

----- Original Message -----
From: "Richard Boulton" <address@hidden>
To: "Eric Lemings" <address@hidden>
Cc: <address@hidden>
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




reply via email to

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