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 IN = src
OUT = output/$(FORMAT) OUT = output
# IMAGE OPTIONS
# ASYMPTOTE OPTIONS
# MAKEFILE OPTIONS
VPATH = $(IN):$(OUT) VPATH = $(IN):$(OUT)
%.svg: %.asy %.svg: %.asy
mkdir -p $(OUT) mkdir -p $(OUT)/svg
asy -f $(FORMAT) $< -o $(OUT)/$* asy -f svg $(OPTIONS) $< -o $(OUT)/svg/$*