1 2 3 4 5 6 7 8 9 10
sources = $(wildcard *.md) htmls = $(sources:.md=.html) .SUFFIXES: .md .html .md.html: pandoc --standalone --toc -o $@ $< all: $(htmls)