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


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


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