2023-01-02 07:22:26 +00:00
|
|
|
include ../../../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
|
|
LINKER_SCRIPTS = ../../../linker_scripts
|
|
|
|
EMPTY_DISK = ../../../empty_disk
|
|
|
|
|
|
|
|
all: budge3d.dsk
|
|
|
|
|
2023-01-06 19:17:40 +00:00
|
|
|
budge3d.dsk: HELLO SHIP_CUBE
|
2023-01-02 07:22:26 +00:00
|
|
|
cp $(EMPTY_DISK)/empty.dsk budge3d.dsk
|
|
|
|
$(DOS33) -y budge3d.dsk SAVE A HELLO
|
2023-01-06 20:37:08 +00:00
|
|
|
$(DOS33) -y budge3d.dsk BSAVE -a 0x800 SHIP_CUBE
|
2023-01-02 07:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
|
2023-01-06 13:25:04 +00:00
|
|
|
|
2023-01-02 07:22:26 +00:00
|
|
|
####
|
|
|
|
|
|
|
|
SHIP_CUBE: ship_cube.o
|
2023-01-06 20:37:08 +00:00
|
|
|
ld65 -o SHIP_CUBE ship_cube.o -C $(LINKER_SCRIPTS)/apple2_800.inc
|
2023-01-02 07:22:26 +00:00
|
|
|
|
2023-01-06 13:25:04 +00:00
|
|
|
ship_cube.o: ship_cube.s \
|
|
|
|
zp.inc hardware.inc \
|
2023-01-07 02:56:36 +00:00
|
|
|
shapes.s math_constants.s \
|
2023-01-06 19:17:40 +00:00
|
|
|
scale_constants.s
|
2023-01-02 07:22:26 +00:00
|
|
|
ca65 -o ship_cube.o ship_cube.s -l ship_cube.lst
|
|
|
|
|
|
|
|
####
|
|
|
|
clean:
|
2023-01-06 19:17:40 +00:00
|
|
|
rm -f *~ *.o *.lst HELLO SHIP_CUBE
|