1.PHONY: html 2html: $(patsubst %.md, %.html, $(wildcard *.md)) 3 4%.html: %.md 5 markdown2 \ 6 --extras=code-friendly \ 7 --extras=fenced-code-blocks \ 8 --extras=tables \ 9 $< > $@ 10 11.PHONY: clean 12clean: 13 $(RM) *.html 14