automake
[Top][All Lists]
Advanced

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

Re: %-style pattern rules


From: Andreas Schwab
Subject: Re: %-style pattern rules
Date: Mon, 30 Jul 2007 19:40:13 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Lorenzo Bettini <address@hidden> writes:

> Ralf Wildenhues wrote:
>> Hello Lorenzo,
>>
>> * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST:
>>> and what if I need two files (with two different extensions) depend on
>>> a single file?
>>
>> That is not possible portably, i.e., with inference rules.  So either
>> you can just choose to rely on GNU make, or write one rule per instance.
>
> apart from multiple files, I also tried to update some Makefile.am as
> follows:
>
> SUFFIXES = .cc.html .cs.html .h.html
>
> .cs.cs.html:
>       $(CSHARP2HTML) -i $< -o $@

This is not a recognized suffix rule, you'll have to register the .cs
suffix manually.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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