PAGES=index.html\ blog/index.html\ blog/test.html all: $(PAGES) clean: rm -f $(PAGES) %.html: %.md templates/base.m4 m4 -DPAGECONTENT="$$(markdown $<)" templates/base.m4 > $@ .PHONY: all clean