2021-11-05 00:22:48 -04:00
|
|
|
|
|
|
|
PNG2RLE = ../../../utils/gr-utils/png2rle
|
|
|
|
PNG2GR = ../../../utils/gr-utils/png2gr
|
|
|
|
PNG2HGR = ../../../utils/hgr-utils/png2hgr
|
2022-08-02 00:46:54 -04:00
|
|
|
#LZSA = ~/research/lzsa/lzsa/lzsa
|
2021-11-05 00:22:48 -04:00
|
|
|
B2D = ../../../utils/bmp2dhr/b2d
|
2022-08-02 00:46:54 -04:00
|
|
|
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
|
2021-11-05 00:22:48 -04:00
|
|
|
|
|
|
|
all: archery_graphics.inc
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
archery_graphics.inc: \
|
2022-08-02 00:46:54 -04:00
|
|
|
target.zx02
|
|
|
|
echo "target_zx02: .incbin \"target.zx02\"" > archery_graphics.inc
|
2021-11-05 00:22:48 -04:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2022-08-02 00:46:54 -04:00
|
|
|
target.zx02: target.hgr
|
|
|
|
$(ZX02) -f target.hgr target.zx02
|
2021-11-05 00:22:48 -04:00
|
|
|
|
|
|
|
target.hgr: target.png
|
|
|
|
$(PNG2HGR) target.png > target.hgr
|
|
|
|
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2022-08-02 00:46:54 -04:00
|
|
|
rm -f *~ archery_graphics.inc *.zx02 *.gr *.hgr
|
2021-11-05 00:22:48 -04:00
|
|
|
|