diff --git a/makefile b/makefile index 4dff710..53aae1b 100644 --- a/makefile +++ b/makefile @@ -19,3 +19,12 @@ VPATH = $(IN):$(OUT) %.svg: %.asy mkdir -p $(OUT)/svg asy -f svg $(OPTIONS) $< -o $(OUT)/svg/$* + + +%.png: %.asy + mkdir -p $(OUT)/png + asy -f png $(OPTIONS) $< -o $(OUT)/png/$* + +%.webp: %.asy + mkdir -p $(OUT)/webp + asy -f webp $(OPTIONS) $< -o $(OUT)/webp/$*