2024-06-16 04:34:42 +00:00
|
|
|
include ../../../../Makefile.inc
|
2024-05-17 04:10:29 +00:00
|
|
|
|
|
|
|
ZX02 = ~/research/6502_compression/zx02.git/build/zx02 -f
|
2024-06-16 04:34:42 +00:00
|
|
|
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
|
|
|
|
|