This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Cannot add a new file extension
- To: tromey at redhat dot com
- Subject: Re: Cannot add a new file extension
- From: Alex Hornby <alex at anvil dot co dot uk>
- Date: 07 Nov 2001 09:58:00 +0000
- Cc: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>, Dmitry Mikhin <dmitrym at acres dot com dot au>, automake at gnu dot org, automake-patches at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <3BD77D1B.791E694A@acres.com.au><20011101210046.A14565@lrde.epita.fr> <87ofmfnmta.fsf@creche.redhat.com>
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.