automake
[Top][All Lists]
Advanced

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

Re: Mixing C and C++


From: Richard Boulton
Subject: Re: Mixing C and C++
Date: Thu, 16 Aug 2001 17:48:43 +0100
User-agent: Mutt/1.2.5i

On Thu, Aug 16, 2001 at 09:29:49AM -0700, Ossama Othman 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?
> 
> Is there some reason why you can just build your C sources with your
> C++ compiler?  I realize that would require changing the C source
> extensions to a C++ source extension but that should be straight
> forward.

I assumed the problem was that the source files were something like
foo.c and foo.cc.  This is what automake doesn't support.  If the files are
bar.c and foo.cc there is no problem at all.

-- 
Richard



reply via email to

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