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

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to