ICONS := \
	icon_flexirpg.svg

INKSCAPE := inkscape

%.png:svg/%.svg
	$(INKSCAPE) -C -e $@ $<

all: icons tree-icons

icons: $(ICONS:%.svg=%.png)

tree-icons:
	svg/generate-icons.py

clean:
	rm -f icons.xml tree_*.png $(ICONS:%.svg=%.png)
