[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: Mon, 30 Jul 2007 18:48:49 +0200
User-agent: Mozilla-Thunderbird (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 as follows:

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

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

BUILT_SOURCES = test.cs.html

check_csharp2html: test.cs.html

This way, test.cs.html should be built from test.cs

however, 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 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]