On Sun, May 24, 2009 at 11:37 AM, Andreas Otto
<address@hidden> wrote:
Am Sonntag 24 Mai 2009 16:59:29 schrieb Ralf Wildenhues:
> Hello Andreas,
>
> * Andreas Otto wrote on Fri, May 22, 2009 at 01:17:50PM CEST:
> > 2. I create a "C" libraray using a couple of *.c files
>
> lib_LTLIBRARIES = libceelib.la
> libceelib_la_SOURCES = foo.c bar.c
>
> > 3. now I want to create a "C++" library from the same *.c input files
>
> lib_LTLIBRARIES += libceepluspluslib.la
> libceepluspluslib_la_SOURCES = $(libceelib_la_SOURCES)
> EXTRA_libceepluspluslib_la_SOURCES = dummy.cpp
this does not solve the problem, because not only the linker have to be
choosen ... the "*.c" files itself should be compiled using "g++" and
not "gcc"