Add "optimise" target which optimises PNG and JPEG files.

This commit is contained in:
Guus Sliepen 2011-08-27 22:37:26 +02:00
parent e292e98c88
commit 1abf5d8c67
1 changed files with 5 additions and 1 deletions

View File

@ -57,4 +57,8 @@ $(PACK): pack.py $(DATAFILES)
unpack: unpack.py
./unpack.py $(PACK)
.PHONY: all clean install unpack
optimise:
advpng -z gfx/*.png
jpegoptim --strip-all gfx/*.jpg
.PHONY: all clean install optimise unpack