2021-06-06 04:37:31 +00:00
|
|
|
include ../../../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
|
|
PNG2GR = ../../../utils/gr-utils/png2gr
|
|
|
|
PNG2RLE = ../../../utils/gr-utils/png2rle
|
|
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
|
|
LINKERSCRIPTS = ../../../linker_scripts
|
|
|
|
EMPTYDISK = ../../../empty_disk
|
|
|
|
|
|
|
|
all: tunnel.dsk
|
|
|
|
|
|
|
|
$(DOS33):
|
|
|
|
cd ../../utils/dos33fs-utils && make
|
|
|
|
|
2021-06-07 05:18:45 +00:00
|
|
|
tunnel.dsk: $(DOS33) HELLO TUNNEL.BAS TUNNEL TUNNEL2 STARGATE T.BAS
|
2021-06-06 04:37:31 +00:00
|
|
|
cp $(EMPTYDISK)/empty.dsk tunnel.dsk
|
|
|
|
$(DOS33) -y tunnel.dsk SAVE A HELLO
|
|
|
|
$(DOS33) -y tunnel.dsk SAVE A TUNNEL.BAS
|
2021-06-07 05:18:45 +00:00
|
|
|
$(DOS33) -y tunnel.dsk SAVE A T.BAS
|
2021-06-06 04:37:31 +00:00
|
|
|
$(DOS33) -y tunnel.dsk BSAVE -a 0xc00 TUNNEL
|
2021-06-07 05:18:45 +00:00
|
|
|
$(DOS33) -y tunnel.dsk BSAVE -a 0xc00 TUNNEL2
|
|
|
|
$(DOS33) -y tunnel.dsk BSAVE -a 0x37c STARGATE
|
2021-06-06 04:37:31 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
TUNNEL.BAS: tunnel.bas
|
|
|
|
$(TOKENIZE) < tunnel.bas > TUNNEL.BAS
|
|
|
|
|
2021-06-07 05:18:45 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
T.BAS: t.bas
|
|
|
|
$(TOKENIZE) < t.bas > T.BAS
|
|
|
|
|
|
|
|
|
2021-06-06 04:37:31 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
TUNNEL: tunnel.o
|
|
|
|
ld65 -o TUNNEL tunnel.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
tunnel.o: tunnel.s
|
|
|
|
ca65 -o tunnel.o tunnel.s -l tunnel.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
2021-06-07 05:18:45 +00:00
|
|
|
TUNNEL2: tunnel2.o
|
|
|
|
ld65 -o TUNNEL2 tunnel2.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
|
|
|
|
tunnel2.o: tunnel2.s
|
|
|
|
ca65 -o tunnel2.o tunnel2.s -l tunnel2.lst
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
STARGATE: stargate.o
|
|
|
|
ld65 -o STARGATE stargate.o -C $(LINKERSCRIPTS)/apple2_37c.inc
|
2021-06-06 04:37:31 +00:00
|
|
|
|
2021-06-07 05:18:45 +00:00
|
|
|
stargate.o: stargate.s
|
|
|
|
ca65 -o stargate.o stargate.s -l stargate.lst
|
2021-06-06 04:37:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2021-06-07 05:18:45 +00:00
|
|
|
rm -f *~ *.o HELLO TUNNEL.BAS TUNNEL TUNNEL2 STARGATE *.lst
|
2021-06-06 04:37:31 +00:00
|
|
|
|