mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-13 04:05:15 +00:00
153 lines
3.1 KiB
Makefile
153 lines
3.1 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
LINKER_SCRIPTS = ../../../linker_scripts
|
|
EMPTY_DISK = ../../../empty_disk
|
|
|
|
all: circles.dsk
|
|
|
|
circles.dsk: HELLO CIRCLES CIRCLES_FILL ARCS WEB PAC ORB ORB_TINY \
|
|
BRES.BAS BRESBOT.BAS BRESCOOL.BAS HORROR \
|
|
MID.BAS MIDBOT.BAS MIDCOOL.BAS BRESTEST.BAS ARCS_BOT
|
|
cp $(EMPTY_DISK)/empty.dsk circles.dsk
|
|
$(DOS33) -y circles.dsk SAVE A HELLO
|
|
$(DOS33) -y circles.dsk SAVE A BRES.BAS
|
|
$(DOS33) -y circles.dsk SAVE A BRESBOT.BAS
|
|
$(DOS33) -y circles.dsk SAVE A BRESCOOL.BAS
|
|
$(DOS33) -y circles.dsk SAVE A MID.BAS
|
|
$(DOS33) -y circles.dsk SAVE A MIDBOT.BAS
|
|
$(DOS33) -y circles.dsk SAVE A MIDCOOL.BAS
|
|
$(DOS33) -y circles.dsk SAVE A BRESTEST.BAS
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x0C00 CIRCLES
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x0C00 CIRCLES_FILL
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x0c00 ARCS
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x03f5 WEB
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x0C00 PAC
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x03f5 ORB
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x03f5 ORB_TINY
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x03f5 HORROR
|
|
$(DOS33) -y circles.dsk BSAVE -a 0x9600 ARCS_BOT
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
BRES.BAS: bres.bas
|
|
$(TOKENIZE) < bres.bas > BRES.BAS
|
|
|
|
###
|
|
|
|
MID.BAS: mid.bas
|
|
$(TOKENIZE) < mid.bas > MID.BAS
|
|
|
|
###
|
|
|
|
MIDBOT.BAS: midbot.bas
|
|
$(TOKENIZE) < midbot.bas > MIDBOT.BAS
|
|
|
|
###
|
|
|
|
MIDCOOL.BAS: midcool.bas
|
|
$(TOKENIZE) < midcool.bas > MIDCOOL.BAS
|
|
|
|
|
|
###
|
|
|
|
BRESBOT.BAS: bresbot.bas
|
|
$(TOKENIZE) < bresbot.bas > BRESBOT.BAS
|
|
|
|
###
|
|
|
|
BRESCOOL.BAS: brescool.bas
|
|
$(TOKENIZE) < brescool.bas > BRESCOOL.BAS
|
|
|
|
###
|
|
|
|
BRESTEST.BAS: brestest.bas
|
|
$(TOKENIZE) < brestest.bas > BRESTEST.BAS
|
|
|
|
|
|
###
|
|
|
|
CIRCLES: circles.o
|
|
ld65 -o CIRCLES circles.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
circles.o: circles.s
|
|
ca65 -o circles.o circles.s -l circles.lst
|
|
|
|
###
|
|
|
|
CIRCLES_FILL: circles_fill.o
|
|
ld65 -o CIRCLES_FILL circles_fill.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
circles_fill.o: circles_fill.s
|
|
ca65 -o circles_fill.o circles_fill.s -l circles_fill.lst
|
|
|
|
|
|
#
|
|
|
|
ARCS: arcs.o
|
|
ld65 -o ARCS arcs.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
arcs.o: arcs.s
|
|
ca65 -o arcs.o arcs.s -l arcs.lst
|
|
|
|
#
|
|
|
|
ARCS_BOT: arcs.o
|
|
ld65 -o ARCS_BOT arcs.o -C $(LINKER_SCRIPTS)/apple2_9600.inc
|
|
|
|
#
|
|
|
|
WEB: web.o
|
|
ld65 -o WEB web.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
|
|
|
|
web.o: web.s
|
|
ca65 -o web.o web.s -l web.lst
|
|
|
|
#
|
|
|
|
PAC: pac.o
|
|
ld65 -o PAC pac.o -C $(LINKER_SCRIPTS)/apple2_c00.inc
|
|
|
|
pac.o: pac.s
|
|
ca65 -o pac.o pac.s -l pac.lst
|
|
|
|
#
|
|
|
|
ORB: orb.o
|
|
ld65 -o ORB orb.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
|
|
|
|
orb.o: orb.s
|
|
ca65 -o orb.o orb.s -l orb.lst
|
|
|
|
|
|
#
|
|
|
|
ORB_TINY: orb_tiny.o
|
|
ld65 -o ORB_TINY orb_tiny.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
|
|
|
|
orb_tiny.o: orb_tiny.s
|
|
ca65 -o orb_tiny.o orb_tiny.s -l orb_tiny.lst
|
|
|
|
#
|
|
|
|
HORROR: horror.o
|
|
ld65 -o HORROR horror.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
|
|
|
|
horror.o: horror.s
|
|
ca65 -o horror.o horror.s -l horror.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst CIRCLES ARCS WEB CIRCLES_FILL PAC ORB \
|
|
BRES.BAS BRESBOT.BAS BRESCOOL.BAS BRESTEST.BAS \
|
|
MID.BAS MIDBOT.BAS MIDCOOL.BAS ORB_TINY HORROR
|