use optipng
parent
e49d27a5ea
commit
ecb187a27c
@ -1,9 +1,9 @@
|
||||
.PHONY: all
|
||||
all: pngcrush
|
||||
all: optipng
|
||||
make -C ../asset
|
||||
|
||||
.PHONY: pngcrush
|
||||
pngcrush: $(addprefix crushed/, $(wildcard *.png))
|
||||
.PHONY: optipng
|
||||
optipng: $(addprefix crushed/, $(wildcard *.png))
|
||||
|
||||
crushed/%.png: %.png
|
||||
pngcrush $< $@
|
||||
optipng -o7 $< -out $@
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 147 KiB |
Binary file not shown.
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 494 B |
Binary file not shown.
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue