2 gfx-deps := gfx.mk povimg.sh
4 data/icon.png: ship.pov $(gfx-deps)
5 ./povimg.sh +W48 +H48 $< > $@ || sh -c "rm $@; false"
7 data/macicon.png: ship.pov $(gfx-deps)
8 ./povimg.sh +W128 +H128 $< > $@ || sh -c "rm $@; false"
10 data/ship.png: ship.pov $(gfx-deps)
11 ./povimg.sh +W32 +H32 $< > $@ || sh -c "rm $@; false"
13 data/life.png: ship.pov $(gfx-deps)
14 ./povimg.sh +W17 +H17 $< > $@ || sh -c "rm $@; false"
16 data/rock%.png: rocks.pov $(gfx-deps)
17 ./povimg.sh +H52 +W52 +K$* $< > $@ || sh -c "rm $@; false"
19 font_guts: font_guts.c
21 font_guts.pov: font_guts font_template.txt
22 ./font_guts < font_template.txt > $@ || sh -c "rm $@ && false"
24 data/font.png: font.pov font_guts.pov
25 ./povimg.sh +W3000 +H40 $< > $@ || sh -c "rm $@; false"