mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-18 21:06:31 +00:00
156 lines
3.6 KiB
Makefile
156 lines
3.6 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/empty.dsk
|
|
|
|
all: triangles.dsk
|
|
|
|
triangles.dsk: HELLO TINY_TRIANGLES XOR MOD9 MOD9_64 WRITING MOVE_RIGHT \
|
|
SIER_HGR SIER_HPLOT SIER_MOVERIGHT SIER_INLINE SIER_INTERLACE \
|
|
RAINBOW_SQUARES FEATHERS
|
|
cp $(EMPTY_DISK) triangles.dsk
|
|
$(DOS33) -y triangles.dsk SAVE A HELLO
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x070 TINY_TRIANGLES
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 XOR
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x3F5 MOD9
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 MOD9_64
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 WRITING
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 MOVE_RIGHT
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x3F5 SIER_HGR
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 SIER_INLINE
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 SIER_MOVERIGHT
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 SIER_HPLOT
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 SIER_INTERLACE
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 RAINBOW_SQUARES
|
|
$(DOS33) -y triangles.dsk BSAVE -a 0x300 FEATHERS
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
TINY_TRIANGLES: tiny_triangles.o
|
|
ld65 -o TINY_TRIANGLES tiny_triangles.o -C $(LINKER_SCRIPTS)/apple2_70_zp.inc
|
|
|
|
tiny_triangles.o: tiny_triangles.s
|
|
ca65 -o tiny_triangles.o tiny_triangles.s -l tiny_triangles.lst
|
|
|
|
###
|
|
|
|
XOR: xor.o
|
|
ld65 -o XOR xor.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
xor.o: xor.s
|
|
ca65 -o xor.o xor.s -l xor.lst
|
|
|
|
###
|
|
|
|
MOD9: mod9.o
|
|
ld65 -o MOD9 mod9.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
|
|
|
|
mod9.o: mod9.s
|
|
ca65 -o mod9.o mod9.s -l mod9.lst
|
|
|
|
###
|
|
|
|
SIER_HGR: sier_hgr.o
|
|
ld65 -o SIER_HGR sier_hgr.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
|
|
|
|
sier_hgr.o: sier_hgr.s
|
|
ca65 -o sier_hgr.o sier_hgr.s -l sier_hgr.lst
|
|
|
|
###
|
|
|
|
SIER_INTERLACE: sier_interlace.o
|
|
ld65 -o SIER_INTERLACE sier_interlace.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
sier_interlace.o: sier_interlace.s
|
|
ca65 -o sier_interlace.o sier_interlace.s -l sier_interlace.lst
|
|
|
|
|
|
###
|
|
|
|
SIER_INLINE: sier_inline.o
|
|
ld65 -o SIER_INLINE sier_inline.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
sier_inline.o: sier_inline.s
|
|
ca65 -o sier_inline.o sier_inline.s -l sier_inline.lst
|
|
|
|
|
|
###
|
|
|
|
SIER_HPLOT: sier_hplot.o
|
|
ld65 -o SIER_HPLOT sier_hplot.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
sier_hplot.o: sier_hplot.s
|
|
ca65 -o sier_hplot.o sier_hplot.s -l sier_hplot.lst
|
|
|
|
|
|
###
|
|
|
|
FEATHERS: feathers.o
|
|
ld65 -o FEATHERS feathers.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
feathers.o: feathers.s
|
|
ca65 -o feathers.o feathers.s -l feathers.lst
|
|
|
|
|
|
###
|
|
|
|
SIER_MOVERIGHT: sier_moveright.o
|
|
ld65 -o SIER_MOVERIGHT sier_moveright.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
sier_moveright.o: sier_moveright.s
|
|
ca65 -o sier_moveright.o sier_moveright.s -l sier_moveright.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
RAINBOW_SQUARES: rainbow_squares.o
|
|
ld65 -o RAINBOW_SQUARES rainbow_squares.o -C $(LINKER_SCRIPTS)/apple2_3f5.inc
|
|
|
|
rainbow_squares.o: rainbow_squares.s
|
|
ca65 -o rainbow_squares.o rainbow_squares.s -l rainbow_squares.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
MOD9_64: mod9_64.o
|
|
ld65 -o MOD9_64 mod9_64.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
mod9_64.o: mod9_64.s
|
|
ca65 -o mod9_64.o mod9_64.s -l mod9_64.lst
|
|
|
|
|
|
###
|
|
|
|
WRITING: writing.o
|
|
ld65 -o WRITING writing.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
writing.o: writing.s
|
|
ca65 -o writing.o writing.s -l writing.lst
|
|
|
|
###
|
|
|
|
MOVE_RIGHT: move_right.o
|
|
ld65 -o MOVE_RIGHT move_right.o -C $(LINKER_SCRIPTS)/apple2_300.inc
|
|
|
|
move_right.o: move_right.s
|
|
ca65 -o move_right.o move_right.s -l move_right.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst HELLO TINY_TRIANGLES XOR MOD9 MOD9_64 WRITING \
|
|
MOVE_RIGHT SIER_HGR SIER_HPLOT SIER_MOVERIGHT \
|
|
SIER_INLINE SIER_INTERLACE \
|
|
RAINBOW_SQUARES
|