Underlying support for other formats
This commit is contained in:
18
makefile
18
makefile
@ -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/$*
|
||||||
|
Reference in New Issue
Block a user