2021-01-06 03:52:10 +00:00
|
|
|
include ../../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../../utils/dos33fs-utils/dos33
|
|
|
|
PNG_TO_40x96 = ../../utils/gr-utils/png_to_40x96
|
|
|
|
PNG_TO_40x48D = ../../utils/gr-utils/png_to_40x48d
|
|
|
|
PNG2RLE = ../../utils/gr-utils/png2rle
|
|
|
|
B2D = ../../utils/bmp2dhr/b2d
|
|
|
|
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
2020-06-14 02:54:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
all: dsr_shape.dsk
|
|
|
|
|
|
|
|
dsr_shape.dsk: HELLO DSRSHAPE
|
|
|
|
cp empty.dsk dsr_shape.dsk
|
|
|
|
$(DOS33) -y dsr_shape.dsk SAVE A HELLO
|
|
|
|
# $(DOS33) -y dsr_shape.dsk SAVE A DSR.BAS
|
|
|
|
# $(DOS33) -y dsr_shape.dsk BSAVE -a 0x1000 DSR
|
|
|
|
$(DOS33) -y dsr_shape.dsk BSAVE -a 0x1000 DSRSHAPE
|
|
|
|
|
|
|
|
|
|
|
|
DSRSHAPE: dsr_shape.o
|
2021-01-06 03:52:10 +00:00
|
|
|
ld65 -o DSRSHAPE dsr_shape.o -C ../../linker_scripts/apple2_1000.inc
|
2020-06-14 02:54:38 +00:00
|
|
|
|
|
|
|
dsr_shape.o: dsr_shape.s
|
|
|
|
ca65 -o dsr_shape.o dsr_shape.s -l dsr_shape.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
2021-01-06 03:52:10 +00:00
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
2020-06-14 02:54:38 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
DSR.BAS: dsr.bas
|
2021-01-06 03:52:10 +00:00
|
|
|
$(TOKENIZE) < dsr.bas > DSR.BAS
|
2020-06-14 02:54:38 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.lst HELLO DSR DSRSHAPE
|
|
|
|
|
|
|
|
|