dos33fsprogs/games/riven_hgr/disk39_files/graphics_maglev/Makefile

31 lines
721 B
Makefile
Raw Normal View History

include ../../../../Makefile.inc
2024-05-17 04:10:29 +00:00
ZX02 = ~/research/6502_compression/zx02.git/build/zx02 -f
PNG_TO_HGR = ../../../../utils/hgr-utils/png2hgr
2024-05-17 04:10:29 +00:00
all: maglev_graphics.inc
maglev_graphics.inc: \
2024-05-22 03:13:56 +00:00
inseat_s.hgr.zx02 inseat_w.hgr.zx02 inseat_e.hgr.zx02 \
2024-05-17 04:10:29 +00:00
lookin_w.hgr.zx02
echo "inseat_s_zx02: .incbin \"inseat_s.hgr.zx02\"" > maglev_graphics.inc
echo "inseat_w_zx02: .incbin \"inseat_w.hgr.zx02\"" >> maglev_graphics.inc
2024-05-22 03:13:56 +00:00
echo "inseat_e_zx02: .incbin \"inseat_e.hgr.zx02\"" >> maglev_graphics.inc
2024-05-17 04:10:29 +00:00
echo "lookin_w_zx02: .incbin \"lookin_w.hgr.zx02\"" >> maglev_graphics.inc
####
%.hgr: %.png
$(PNG_TO_HGR) $< > $@
%.hgr.zx02: %.hgr
$(ZX02) -f $< $@
####
clean:
rm -f *~ *.o *.lst *.zx02 *.hgr maglev_graphics.inc