Check in some assets
parent
da756f728a
commit
8993042ac0
|
@ -0,0 +1,23 @@
|
|||
IMAGES_OUTPUT_DIR = images
|
||||
|
||||
SVG_FILES := $(wildcard images/*.svg)
|
||||
PNG_FILES := $(SVG_FILES:%.svg=%.png) images/overlay-dim.png
|
||||
BGRA_FILES := $(PNG_FILES:%.png=%.bgra)
|
||||
|
||||
vpath %.svg $(SVG_FILES)
|
||||
vpath %.png $(PNG_FILES)
|
||||
vpath %.bgra $(BGRA_FILES)
|
||||
|
||||
%.png: %.svg
|
||||
@inkscape -C -e $@ $<
|
||||
|
||||
%.bgra: %.png
|
||||
@convert $< -format BGRA $@
|
||||
|
||||
all: $(BGRA_FILES) $(PNG_FILES)
|
||||
|
||||
clean:
|
||||
@rm $(PNG_FILES) $(BGRA_FILES)
|
||||
|
||||
$(IMAGES_OUTPUT_DIR)/overlay-dim.png: $(IMAGES_OUTPUT_DIR)/overlay.png
|
||||
@convert $< -channel a -evaluate multiply 0.25 +channel png32:$@
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 179 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 48 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue