1PANDOC = pandoc 2 3default: all 4 5all_markdown = \ 6 mbed-crypto-storage-specification.md \ 7 testing/driver-interface-test-strategy.md \ 8 testing/invasive-testing.md \ 9 testing/test-framework.md \ 10 # This line is intentionally left blank 11 12html: $(all_markdown:.md=.html) 13pdf: $(all_markdown:.md=.pdf) 14all: html pdf 15 16.SUFFIXES: 17.SUFFIXES: .md .html .pdf 18 19.md.html: 20 $(PANDOC) -o $@ $< 21.md.pdf: 22 $(PANDOC) -o $@ $< 23 24clean: 25 rm -f *.html *.pdf 26 rm -f testing/*.html testing/*.pdf 27