sources = $(wildcard *.md) htmls = $(sources:.md=.html) pdfs = $(sources:.md=.pdf) .SUFFIXES: .md .html .pdf .md.html: sp-docgen --output $@ $< .md.pdf: sp-docgen --output $@ $< all: $(htmls) $(pdfs) email2-v2-draft.pdf email2-v2-draft.html: email2-v2-draft.md email.bib