dos33fsprogs/bot_demo/Makefile

65 lines
1.2 KiB
Makefile
Raw Normal View History

2020-10-28 04:35:11 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
TOKENIZE = ../asoft_basic-utils/tokenize_asoft
2020-11-15 03:16:43 +00:00
PNG2RLE = ../gr-utils/png2rle
LZSA = ~/research/lzsa/lzsa/lzsa
2020-10-28 04:35:11 +00:00
all: bot_demo.dsk
2020-11-15 03:16:43 +00:00
bot_demo.dsk: HELLO LOADER
2020-10-28 04:35:11 +00:00
cp empty.dsk bot_demo.dsk
2020-11-15 03:16:43 +00:00
$(DOS33) -y bot_demo.dsk BSAVE -a 0x1000 LOADER
# $(DOS33) -y bot_demo.dsk BSAVE -a 0x6000 BOTDEMO MYSTERY
2020-11-09 05:03:24 +00:00
$(DOS33) -y bot_demo.dsk SAVE A HELLO
2020-10-28 04:35:11 +00:00
###
2020-11-15 03:16:43 +00:00
LOADER: loader.o
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1000.inc
loader.o: loader.s BOTDEMO.LZ4
ca65 -o loader.o loader.s -l loader.lst
###
BOTDEMO.LZ4: BOTDEMO
$(LZSA) -r -f2 BOTDEMO BOTDEMO.LZ4
###
2020-11-09 05:03:24 +00:00
BOTDEMO: botdemo.o
ld65 -o BOTDEMO botdemo.o -C ../linker_scripts/apple2_6000.inc
botdemo.o: botdemo.s \
2020-11-16 02:43:16 +00:00
zp.inc hardware.inc nozp.inc timeline.inc \
commands.s bg.inc \
2020-11-15 03:45:18 +00:00
interrupt_handler.s \
2020-11-17 18:11:41 +00:00
wipe.s mock_anim.s credits.s
2020-11-09 05:03:24 +00:00
ca65 -o botdemo.o botdemo.s -l botdemo.lst
###
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
###
2020-10-28 04:35:11 +00:00
RLE: rle.o
ld65 -o RLE rle.o -C ./apple2_custom.inc
rle.o: rle.s
ca65 -o rle.o rle.s -l rle.lst
####
2020-11-15 03:16:43 +00:00
bg.inc: bg.png
$(PNG2RLE) asm bg.png bg_rle > bg.inc
####
2020-10-28 04:35:11 +00:00
clean:
2020-11-15 03:45:18 +00:00
rm -f *~ *.o *.lst RLE BOTDEMO LOADER BOTDEMO.LZ4