[Top][All Lists]

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

Re: %-style pattern rules

From: Lorenzo Bettini
Subject: Re: %-style pattern rules
Date: Wed, 01 Aug 2007 17:58:43 +0200
User-agent: Mozilla-Thunderbird (X11/20070622)

Andreas Schwab wrote:
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 as

SUFFIXES = .cc.html .cs.html .h.html

        $(CSHARP2HTML) -i $< -o $@

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

opps... I didn't know that, I thought the rightmost extension would have done.

Now it works

However, I suspect I won't be able to adapt rules such as

%.lang.texinfo: $(top_srcdir)/tests/%.lang

will I?

Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)

reply via email to

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