X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=gfx.mk;h=6ffccf6a6694c9b832cb7c6068fee768769e9c84;hp=762d236a7411bc319696b5e2902d9e5484d7ef33;hb=66742cd79da77c5db0501d4b4ba8cc1f46f948b9;hpb=31a00c721be0b569bc554069cc0a3eb2864eb61f diff --git a/gfx.mk b/gfx.mk index 762d236..6ffccf6 100644 --- a/gfx.mk +++ b/gfx.mk @@ -1,11 +1,22 @@ gfx-deps := gfx.mk povimg.sh +data/icon.png: ship.pov $(gfx-deps) + ./povimg.sh +W48 +H48 $< > $@ || sh -c "rm $@; false" + data/ship.png: ship.pov $(gfx-deps) - ./povimg.sh +W32 +H32 $< > $@ + ./povimg.sh +W32 +H32 $< > $@ || sh -c "rm $@; false" data/life.png: ship.pov $(gfx-deps) - ./povimg.sh +W17 +H17 $< > $@ + ./povimg.sh +W17 +H17 $< > $@ || sh -c "rm $@; false" data/rock%.png: rocks.pov $(gfx-deps) - ./povimg.sh +H52 +W52 +K$* $< > $@ + ./povimg.sh +H52 +W52 +K$* $< > $@ || sh -c "rm $@; false" + +font_guts: font_guts.c + +font_guts.pov: font_guts font_template.txt + ./font_guts < font_template.txt > $@ || sh -c "rm $@ && false" + +data/font.png: font.pov font_guts.pov + ./povimg.sh +W3000 +H40 $< > $@ || sh -c "rm $@; false"