[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mixing C and C++?
From: |
Olly Betts |
Subject: |
Re: Mixing C and C++? |
Date: |
Fri, 6 Jun 2008 14:13:46 +0000 (UTC) |
User-agent: |
slrn/0.9.8.1pl1 (Debian) |
On 2008-06-06, Erik de Castro Lopo <address@hidden> wrote:
> Ralf Wildenhues wrote:
>
>> amtest_SOURCES = cpp.cc amtest.c amtest.h
>
> Ah, that fixed that problem. The test project now works as it should.
>
> Getting back to real project I managed to fix that as well, but I
> not sure what I was doing wrong.
You'd written "test_sources = ..." which has no special meaning to
automake. You should have written "amtest_SOURCES = ...". In the
absence of amtest_SOURCES, automake implicitly assumes "amtest_SOURCES =
amtest.c".
Cheers,
Olly
- Mixing C and C++?, Erik de Castro Lopo, 2008/06/06
- Re: Mixing C and C++?, Ralf Wildenhues, 2008/06/06
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06
- Re: Mixing C and C++?, Ralf Wildenhues, 2008/06/06
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06
- Re: Mixing C and C++?,
Olly Betts <=
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06
- Re: Mixing C and C++?, Ralf Wildenhues, 2008/06/06
- Re: Mixing C and C++?, Erik de Castro Lopo, 2008/06/06