Underlying support for other formats

This commit is contained in:
2024-06-19 16:21:12 -07:00
parent e585006ac3
commit 0329f83919

View File

@ -1,9 +1,19 @@
FORMAT = svg
# FILE OPTIONS
IN = src
OUT = output/$(FORMAT)
OUT = output
# IMAGE OPTIONS
# ASYMPTOTE OPTIONS
# MAKEFILE OPTIONS
VPATH = $(IN):$(OUT)
%.svg: %.asy
mkdir -p $(OUT)
asy -f $(FORMAT) $< -o $(OUT)/$*
mkdir -p $(OUT)/svg
asy -f svg $(OPTIONS) $< -o $(OUT)/svg/$*