From 8d8eecdbf86951d525a95016ada45170adcb208e Mon Sep 17 00:00:00 2001 From: Zakarya Date: Wed, 19 Jun 2024 16:22:00 -0700 Subject: [PATCH] WEBP and PNG support --- makefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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/$*