2021-01-05 23:24:09 +00:00
|
|
|
include ../../Makefile.inc
|
2020-07-31 20:16:20 +00:00
|
|
|
|
2021-01-05 23:24:09 +00:00
|
|
|
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-07-31 20:16:20 +00:00
|
|
|
|
|
|
|
all: sound.dsk
|
|
|
|
|
|
|
|
sound.dsk: HELLO SOUND
|
|
|
|
cp empty.dsk sound.dsk
|
|
|
|
$(DOS33) -y sound.dsk SAVE A HELLO
|
|
|
|
$(DOS33) -y sound.dsk BSAVE -a 0x1000 SOUND
|
|
|
|
|
|
|
|
SOUND: sound.o
|
2021-01-05 23:24:09 +00:00
|
|
|
ld65 -o SOUND sound.o -C ../../linker_scripts/apple2_1000.inc
|
2020-07-31 20:16:20 +00:00
|
|
|
|
|
|
|
sound.o: sound.s
|
|
|
|
ca65 -o sound.o sound.s -l sound.lst
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
2021-01-05 23:24:09 +00:00
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
2020-07-31 20:16:20 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.lst HELLO SOUND
|
|
|
|
|
|
|
|
|