projects
/
yukkurigames.com.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Crush images.
[yukkurigames.com.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
8c3568b
..
de3b884
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,9
+1,14
@@
#!/usr/bin/make -f
#!/usr/bin/make -f
+PNGCRUSH ?= pngcrush
+PNGCRUSHFLAGS ?= -brute -blacken -reduce -q
+CRUSH.png ?= $(PNGCRUSH) $(PNGCRUSHFLAGS)
+
favicon_%.png: favicon.svg
rsvg-convert -w $* -h $* $^ > $@
favicon_%.png: favicon.svg
rsvg-convert -w $* -h $* $^ > $@
+ $(CRUSH.png) -ow $@
-%.ico: %_
128.png %_64.png %_
48.png %_32.png %_16.png
+%.ico: %_48.png %_32.png %_16.png
convert $^ $@
ICONS := favicon.ico favicon_128.png favicon_192.png favicon_256.png
convert $^ $@
ICONS := favicon.ico favicon_128.png favicon_192.png favicon_256.png