dos33fsprogs/graphics/gr/sier/Makefile
2021-03-01 19:21:55 -05:00

62 lines
1.2 KiB
Makefile

include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../../../linker_scripts
EMPTY_DISK = ../../../empty_disk/empty.dsk
all: sier.dsk
sier.dsk: HELLO SIER SIER_BOT SIER_TINY SIER_64
cp $(EMPTY_DISK) sier.dsk
$(DOS33) -y sier.dsk SAVE A HELLO
$(DOS33) -y sier.dsk BSAVE -a 0x60 SIER
$(DOS33) -y sier.dsk BSAVE -a 0x36C SIER_BOT
$(DOS33) -y sier.dsk BSAVE -a 0x300 SIER_TINY
$(DOS33) -y sier.dsk BSAVE -a 0x300 SIER_64
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
SIER: sier.o
ld65 -o SIER sier.o -C ./apple2_60_zp.inc
sier.o: sier.s
ca65 -o sier.o sier.s -l sier.lst
###
SIER_BOT: sier_bot.o
ld65 -o SIER_BOT sier_bot.o -C ./apple2_36c.inc
sier_bot.o: sier_bot.s
ca65 -o sier_bot.o sier_bot.s -l sier_bot.lst
###
SIER_TINY: sier_tiny.o
ld65 -o SIER_TINY sier_tiny.o -C $(LINKERSCRIPTS)/apple2_300.inc
sier_tiny.o: sier_tiny.s
ca65 -o sier_tiny.o sier_tiny.s -l sier_tiny.lst
###
SIER_64: sier_64.o
ld65 -o SIER_64 sier_64.o -C $(LINKERSCRIPTS)/apple2_300.inc
sier_64.o: sier_64.s
ca65 -o sier_64.o sier_64.s -l sier_64.lst
###
clean:
rm -f *~ *.o *.lst HELLO SIER SIER_TINY SIER_64