Files
co2-meter/assets/Makefile
2025-11-30 16:16:16 +01:00

19 lines
287 B
Makefile

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 $@