sampler start
This commit is contained in:
18
assets/Makefile
Normal file
18
assets/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
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 $@
|
||||
|
||||
Reference in New Issue
Block a user