use optipng
This commit is contained in:
parent
e49d27a5ea
commit
ecb187a27c
4 changed files with 4 additions and 4 deletions
|
@ -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 $@
|
||||
|
|
Reference in a new issue