|
From: | Lorenzo Bettini |
Subject: | Re: %-style pattern rules |
Date: | Mon, 30 Jul 2007 18:48:49 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.4 (X11/20070622) |
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 $@ BUILT_SOURCES = test.cs.html check_csharp2html: test.cs.html ... This way, test.cs.html should be built from test.cshowever, if I touch (or modify) test.cs, and then run check_csharp2html the rule to build test.cs.html from .cs is not run (but only the rules for check_csharp2html)
am I doing something wrong? thanks in advance Lorenzo -- 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] |