SRC := leicht.md schwer.md HTML := $(SRC:.md=.html) .PHONY: all all: $(HTML) %.html: %.md pandoc-template.html pandoc -s --template=pandoc-template.html $< -o $@ clean: rm -rf $(HTML)