1PANDOC = pandoc 2 3default: all 4 5all_markdown = \ 6 alternative-implementations.md \ 7 mbed-crypto-storage-specification.md \ 8 psa-crypto-implementation-structure.md \ 9 psa-migration/psa-limitations.md \ 10 psa-migration/strategy.md \ 11 psa-migration/tasks-g2.md \ 12 psa-migration/testing.md \ 13 testing/driver-interface-test-strategy.md \ 14 testing/invasive-testing.md \ 15 testing/psa-storage-format-testing.md \ 16 testing/test-framework.md \ 17 tls13-support.md \ 18 # This line is intentionally left blank 19 20html: $(all_markdown:.md=.html) 21pdf: $(all_markdown:.md=.pdf) 22all: html pdf 23 24.SUFFIXES: 25.SUFFIXES: .md .html .pdf 26 27.md.html: 28 $(PANDOC) -o $@ $< 29.md.pdf: 30 $(PANDOC) -o $@ $< 31 32clean: 33 rm -f *.html *.pdf 34 rm -f testing/*.html testing/*.pdf 35