dos33fsprogs/games/riven_hgr/disk50_files/graphics_chipper/Makefile
Vince Weaver 5c560ef176 riven: can actually get to bookbinding island
can't get back though
2024-07-22 16:59:52 -04:00

28 lines
735 B
Makefile

include ../../../../Makefile.inc
ZX02 = ~/research/6502_compression/zx02.git/build/zx02 -f
PNG_TO_HGR = ../../../../utils/hgr-utils/png2hgr
all: chipper_graphics.inc
chipper_graphics.inc: \
chipper_n.hgr.zx02 chipper_w.hgr.zx02 chipper_e.hgr.zx02 chipper_s.hgr.zx02
echo "chipper_n_zx02: .incbin \"chipper_n.hgr.zx02\"" > chipper_graphics.inc
echo "chipper_w_zx02: .incbin \"chipper_w.hgr.zx02\"" >> chipper_graphics.inc
echo "chipper_e_zx02: .incbin \"chipper_e.hgr.zx02\"" >> chipper_graphics.inc
echo "chipper_s_zx02: .incbin \"chipper_s.hgr.zx02\"" >> chipper_graphics.inc
####
%.hgr: %.png
$(PNG_TO_HGR) $< > $@
%.hgr.zx02: %.hgr
$(ZX02) -f $< $@
####
clean:
rm -f *~ *.o *.lst *.zx02 *.hgr chipper_graphics.inc