SVGS = $(wildcard ./*.svg)
TARGET_BMPS = $(SVGS:.svg=.bmp)
BACKCOLOR = 080808

.PHONY: all

all: $(TARGET_BMPS)
	@echo $(SVGS)

clean:
	rm $(TARGET_BMPS)

%.bmp: %.png
	@convert $< -background "#$(BACKCOLOR)" -alpha remove -define bmp:subtype=RGB565 $@

%.png: %.svg
	inkscape $< -o $@

