2022-09-27 05:34:56 +00:00
|
|
|
include ../../../Makefile.inc
|
|
|
|
|
|
|
|
LINKER_DIR = ../../../linker_scripts/
|
|
|
|
|
|
|
|
EMPTY_DISK = ../../../empty_disk/empty.dsk
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
|
|
|
|
|
|
all: paralax.dsk
|
|
|
|
|
2022-09-28 04:22:54 +00:00
|
|
|
paralax.dsk: HELLO BOXES PAR WEIRD WEIRD2 SIER SIER_FAST
|
2022-09-27 05:34:56 +00:00
|
|
|
cp $(EMPTY_DISK) paralax.dsk
|
|
|
|
$(DOS33) -y paralax.dsk SAVE A HELLO
|
|
|
|
$(DOS33) -y paralax.dsk BSAVE -a 0xc00 BOXES
|
2022-09-27 06:24:19 +00:00
|
|
|
$(DOS33) -y paralax.dsk BSAVE -a 0x3f5 PAR
|
2022-09-27 05:34:56 +00:00
|
|
|
$(DOS33) -y paralax.dsk BSAVE -a 0xc00 WEIRD
|
2022-09-28 04:22:54 +00:00
|
|
|
$(DOS33) -y paralax.dsk BSAVE -a 0xc00 WEIRD2
|
2022-10-10 06:34:32 +00:00
|
|
|
$(DOS33) -y paralax.dsk BSAVE -a 0x3f5 SIER
|
2022-09-28 04:22:54 +00:00
|
|
|
$(DOS33) -y paralax.dsk BSAVE -a 0xc00 SIER_FAST
|
2022-09-27 05:34:56 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
BOXES: boxes.o
|
|
|
|
ld65 -o BOXES boxes.o -C $(LINKER_DIR)/apple2_c00.inc
|
|
|
|
|
|
|
|
boxes.o: boxes.s
|
|
|
|
ca65 -o boxes.o boxes.s -l boxes.lst
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
PAR: par.o
|
2022-09-27 06:24:19 +00:00
|
|
|
ld65 -o PAR par.o -C $(LINKER_DIR)/apple2_3f5.inc
|
2022-09-27 05:34:56 +00:00
|
|
|
|
|
|
|
par.o: par.s
|
|
|
|
ca65 -o par.o par.s -l par.lst
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
WEIRD: weird.o
|
|
|
|
ld65 -o WEIRD weird.o -C $(LINKER_DIR)/apple2_c00.inc
|
|
|
|
|
|
|
|
weird.o: weird.s
|
|
|
|
ca65 -o weird.o weird.s -l weird.lst
|
|
|
|
|
2022-09-27 20:00:36 +00:00
|
|
|
###
|
|
|
|
|
2022-09-28 04:22:54 +00:00
|
|
|
WEIRD2: weird2.o
|
|
|
|
ld65 -o WEIRD2 weird2.o -C $(LINKER_DIR)/apple2_c00.inc
|
2022-09-27 05:34:56 +00:00
|
|
|
|
2022-09-28 04:22:54 +00:00
|
|
|
weird2.o: weird2.s
|
|
|
|
ca65 -o weird2.o weird2.s -l weird2.lst
|
2022-09-27 05:34:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2022-09-28 04:22:54 +00:00
|
|
|
SIER: sier.o
|
2022-10-10 06:34:32 +00:00
|
|
|
ld65 -o SIER sier.o -C $(LINKER_DIR)/apple2_3f5.inc
|
2022-09-28 04:22:54 +00:00
|
|
|
|
|
|
|
sier.o: sier.s
|
|
|
|
ca65 -o sier.o sier.s -l sier.lst
|
2022-09-27 05:34:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2022-09-28 04:22:54 +00:00
|
|
|
SIER_FAST: sier_fast.o
|
|
|
|
ld65 -o SIER_FAST sier_fast.o -C $(LINKER_DIR)/apple2_c00.inc
|
2022-09-27 05:34:56 +00:00
|
|
|
|
2022-09-28 04:22:54 +00:00
|
|
|
sier_fast.o: sier_fast.s
|
|
|
|
ca65 -o sier_fast.o sier_fast.s -l sier_fast.lst
|
2022-09-27 05:34:56 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.lst HELLO BOXES BOXES_BOT LARGE LARGE_BOT PAR PAR_BOT
|
|
|
|
|