You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
351 B

  1. IMG_DIR := img
  2. DOT_FILES := $(wildcard $(IMG_DIR)/*.dot)
  3. SVG_FILES := $(DOT_FILES:$(IMG_DIR)/%.dot=$(IMG_DIR)/%_dot.svg)
  4. default: build clean
  5. $(IMG_DIR)/%_dot.svg: $(IMG_DIR)/%.dot
  6. dot -Tsvg $< -o $@
  7. build: $(SVG_FILES)
  8. scripts/build.sh
  9. clean:
  10. scripts/clean.sh
  11. rm -f $(SVG_FILES)
  12. test:
  13. scripts/test.sh
  14. mrproper: clean
  15. scripts/mrproper.sh