Makefile 477 B

12345678910111213141516171819202122232425262728293031323334
  1. HTML= \
  2. 00-overview.html \
  3. 01-common-utils.html \
  4. 01a-memory.html \
  5. 01b-collections.html \
  6. 01c-time.html \
  7. 01d-crypto.html \
  8. 01e-os-compat.html \
  9. 01f-threads.html \
  10. 01g-strings.html \
  11. 02-dataflow.html \
  12. 03-modules.html \
  13. this-not-that.html
  14. PNG = \
  15. diagrams/02/02-dataflow.png \
  16. diagrams/02/02-connection-types.png
  17. all: generated
  18. generated: $(HTML) $(PNG)
  19. %.html: %.md
  20. maruku $< -o $@
  21. %.png: %.dia
  22. dia $< --export=$@
  23. clean:
  24. rm -f $(HTML)
  25. rm -f $(PNG)