dos33fsprogs/bot_demo/Makefile
2020-11-10 22:07:19 -05:00

44 lines
779 B
Makefile

include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
TOKENIZE = ../asoft_basic-utils/tokenize_asoft
all: bot_demo.dsk
bot_demo.dsk: HELLO BOTDEMO
cp empty.dsk bot_demo.dsk
$(DOS33) -y bot_demo.dsk BSAVE -a 0x6000 BOTDEMO
$(DOS33) -y bot_demo.dsk BSAVE -a 0x6000 BOTDEMO MYSTERY
$(DOS33) -y bot_demo.dsk SAVE A HELLO
###
BOTDEMO: botdemo.o
ld65 -o BOTDEMO botdemo.o -C ../linker_scripts/apple2_6000.inc
botdemo.o: botdemo.s \
zp.inc hardware.inc nozp.inc \
load.s \
interrupt_handler.s
ca65 -o botdemo.o botdemo.s -l botdemo.lst
###
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
###
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
####
clean:
rm -f *~ *.o *.lst RLE BOTDEMO