2021-01-31 05:21:00 +00:00
|
|
|
include ../../../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
|
|
LINKERSCRIPTS = ../../../linker_scripts
|
|
|
|
|
|
|
|
all: sier.dsk
|
|
|
|
|
2021-03-01 03:22:14 +00:00
|
|
|
sier.dsk: HELLO SIER SIER_TINY SIER_64
|
2021-01-31 05:21:00 +00:00
|
|
|
cp empty.dsk sier.dsk
|
|
|
|
$(DOS33) -y sier.dsk SAVE A HELLO
|
2021-01-31 21:07:12 +00:00
|
|
|
$(DOS33) -y sier.dsk BSAVE -a 0x36C SIER
|
2021-01-31 18:18:00 +00:00
|
|
|
$(DOS33) -y sier.dsk BSAVE -a 0x300 SIER_TINY
|
2021-03-01 03:22:14 +00:00
|
|
|
$(DOS33) -y sier.dsk BSAVE -a 0x300 SIER_64
|
2021-01-31 05:21:00 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
SIER: sier.o
|
2021-01-31 21:07:12 +00:00
|
|
|
ld65 -o SIER sier.o -C ./apple2_36c.inc
|
2021-01-31 05:21:00 +00:00
|
|
|
|
|
|
|
sier.o: sier.s
|
|
|
|
ca65 -o sier.o sier.s -l sier.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2021-01-31 18:18:00 +00:00
|
|
|
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
|
|
|
|
|
2021-03-01 03:22:14 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2021-01-31 18:18:00 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2021-01-31 05:21:00 +00:00
|
|
|
clean:
|
2021-03-01 03:22:14 +00:00
|
|
|
rm -f *~ *.o *.lst HELLO SIER SIER_TINY SIER_64
|