INPUT = $(wildcard *.md) OUTPUT = $(INPUT:.md=.html) all: $(OUTPUT) clean: distclean: clean -rm -f $(OUTPUT) %.html: %.md multimarkdown $< >$@