HTML = $(patsubst %.md,%.html,$(shell find -name '*.md')) .PHONY: all clean all: $(HTML) clean: rm -vf $(HTML) %.html: %.md process.py template.html python process.py $< $@