help-make
[Top][All Lists]
Advanced

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

Re: help with implicit rules


From: Miguel Guedes
Subject: Re: help with implicit rules
Date: Wed, 21 Nov 2012 09:09:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

For some reason I can only get it to work like so:

.SUFFIXES: .html .page

PAGES = $(wildcard *.page)

all: $(PAGES:.page=.html)

%.html: %.page
        @echo $< $@



Defining the `all' rule as

  all: $($(wildcard *.page):.page=.html)

doesn't seem to work. (I'd like to know why though)

--
Miguel



reply via email to

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