dos33fsprogs/xmas_2018/Makefile

58 lines
1.1 KiB
Makefile
Raw Normal View History

2018-12-07 19:14:03 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
B2D = ../bmp2dhr/b2d
PNG_TO_40x96 = ../gr-utils/png_to_40x96
PNG_TO_RLE = ../gr-utils/png2rle
all: xmas2018.dsk
2018-12-10 22:08:39 +00:00
xmas2018.dsk: HELLO XMAS2018 wreath.img
$(DOS33) -y xmas2018.dsk SAVE A HELLO
$(DOS33) -y xmas2018.dsk BSAVE -a 0x4000 XMAS2018
2018-12-07 19:14:03 +00:00
$(DOS33) -y xmas2018.dsk BSAVE -a 0x2000 wreath.img WREATH.IMG
####
XMAS2018: xmas2018.o
ld65 -o XMAS2018 xmas2018.o -C ../linker_scripts/apple2_4000.inc
2018-12-07 19:14:03 +00:00
xmas2018.o: xmas2018.s \
2018-12-07 19:14:03 +00:00
zp.inc hardware.inc \
vapor_lock.s delay_a.s wait_keypress.s \
2018-12-07 19:14:03 +00:00
mockingboard.s \
2018-12-11 22:01:18 +00:00
wreath.img.lz4 \
wreath.s
ca65 -o xmas2018.o xmas2018.s -l xmas2018.lst
2018-12-07 19:14:03 +00:00
####
2018-12-10 22:08:39 +00:00
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
2018-12-07 19:14:03 +00:00
#c64.img.lz4: c64.img
# lz4 -f -16 c64.img
#
#c64.img: c64_updated.png
# ../hgr-utils/png2hgr c64_updated.png > c64.img
####
#D_HGRC.BIN: d_hgr.bmp
# $(B2D) d_hgr.bmp HGR -d
2018-12-10 18:06:21 +00:00
wreath.img.lz4: wreath.img
lz4 -f -16 wreath.img
2018-12-07 19:14:03 +00:00
wreath.img: WREATHC.BIN
cp WREATHC.BIN wreath.img
WREATHC.BIN: wreath.bmp
$(B2D) wreath.bmp HGR -d
clean:
rm -f *~ *.o *.lst XMAS2018 wreath.img WREATHC.BIN