automake
[Top][All Lists]
Advanced

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

Re: Cannot add a new file extension


From: Alex Hornby
Subject: Re: Cannot add a new file extension
Date: 07 Nov 2001 09:58:00 +0000

On Wed, 2001-11-07 at 05:59, Tom Tromey wrote:
> >>>>> "Alexandre" == Alexandre Duret-Lutz <address@hidden> writes:
> 
> >> SUFFIXES = .k
> 
> Alexandre> (This is superfluous, Automake will infer it from the .k.o
> Alexandre> rule below)
> 
> Is it still documented as being required?
> 
> Tom

Consider and IDL to C++ mapping:

SUFFIXES = .idl C.cpp C.h S.cpp S.h

Where Foo.idl is mapped into client stubs FooC.h etc.

By the rule:

.idlC.cpp:
        # do whatever

You abosolutely do need the SUFFIXES declaration, otherwise you end up
with a .idlC to .cpp mapper.

Thus honoring SUFFIXES if found is actually quite important...

Regards,
Alex.




reply via email to

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