PANDOC = pandoc default: all all_markdown = \ mbed-crypto-storage-specification.md \ testing/driver-interface-test-strategy.md \ # This line is intentionally left blank html: $(all_markdown:.md=.html) pdf: $(all_markdown:.md=.pdf) all: html pdf .SUFFIXES: .SUFFIXES: .md .html .pdf .md.html: $(PANDOC) -o $@ $< .md.pdf: $(PANDOC) -o $@ $<