|
From: | Lorenzo Bettini |
Subject: | Re: %-style pattern rules |
Date: | Wed, 01 Aug 2007 17:58:43 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.4 (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 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.
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) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
[Prev in Thread] | Current Thread | [Next in Thread] |