On 2008-06-06, Erik de Castro Lopo <[EMAIL PROTECTED]> 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