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.
 
 
 
 
 

22 lines
351 B

IMG_DIR := img
DOT_FILES := $(wildcard $(IMG_DIR)/*.dot)
SVG_FILES := $(DOT_FILES:$(IMG_DIR)/%.dot=$(IMG_DIR)/%_dot.svg)
default: build clean
$(IMG_DIR)/%_dot.svg: $(IMG_DIR)/%.dot
dot -Tsvg $< -o $@
build: $(SVG_FILES)
scripts/build.sh
clean:
scripts/clean.sh
rm -f $(SVG_FILES)
test:
scripts/test.sh
mrproper: clean
scripts/mrproper.sh