all: orgas.svg policies.svg # All .dot files are generated by gen_%.sh file (gen_orgas.sh for example) %.dot: gen_%.sh bash "$<" "$@" %.svg: %.dot dot -Tsvg "$<" -o "$@" clean: rm -f *.svg *.dot # Keep temporary files (dot files) for debug .PRECIOUS: %.dot