From 1abf5d8c67f6dfbc8a344ce5bf7db8054b2faa99 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 27 Aug 2011 22:37:26 +0200 Subject: [PATCH] Add "optimise" target which optimises PNG and JPEG files. --- makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index ca7f71c..c0b4897 100755 --- a/makefile +++ b/makefile @@ -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