diff --git a/games/peasant/graphics_archery/Makefile b/games/peasant/graphics_archery/Makefile new file mode 100644 index 00000000..8eceeb9b --- /dev/null +++ b/games/peasant/graphics_archery/Makefile @@ -0,0 +1,31 @@ + +PNG2RLE = ../../../utils/gr-utils/png2rle +PNG2GR = ../../../utils/gr-utils/png2gr +PNG2HGR = ../../../utils/hgr-utils/png2hgr +LZSA = ~/research/lzsa/lzsa/lzsa +B2D = ../../../utils/bmp2dhr/b2d + +all: archery_graphics.inc + + +### + +archery_graphics.inc: \ + target.lzsa + echo "target_lzsa: .incbin \"target.lzsa\"" > archery_graphics.inc + +### + +target.lzsa: target.hgr + $(LZSA) -r -f2 target.hgr target.lzsa + +target.hgr: target.png + $(PNG2HGR) target.png > target.hgr + + +#### + + +clean: + rm -f *~ archery_graphics.inc *.lzsa *.gr *.hgr + diff --git a/games/peasant/graphics_archery/target.png b/games/peasant/graphics_archery/target.png new file mode 100644 index 00000000..1d3d7a12 Binary files /dev/null and b/games/peasant/graphics_archery/target.png differ