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: Cannot add a new file extension


On Wed, 2001-11-07 at 05:59, Tom Tromey wrote:
> >>>>> "Alexandre" == Alexandre Duret-Lutz <duret_g@lrde.epita.fr> 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.



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