Makefile 508 B

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