dos33fsprogs/music/polly/Makefile

48 lines
869 B
Makefile
Raw Normal View History

include ../../Makefile.inc
2020-05-06 22:55:06 +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-05-06 22:55:06 +00:00
all: polly.dsk
2020-05-17 04:19:15 +00:00
polly.dsk: HELLO POLLY BOOP
2020-05-06 22:55:06 +00:00
cp empty.dsk polly.dsk
$(DOS33) -y polly.dsk SAVE A HELLO
$(DOS33) -y polly.dsk BSAVE -a 0x1000 POLLY
2020-05-17 04:19:15 +00:00
$(DOS33) -y polly.dsk BSAVE -a 0x1000 BOOP
2020-05-06 22:55:06 +00:00
2020-05-17 04:19:15 +00:00
BOOP: boop.o
ld65 -o BOOP boop.o -C ../../linker_scripts/apple2_1000.inc
2020-05-17 04:19:15 +00:00
boop.o: boop.s
ca65 -o boop.o boop.s -l boop.lst
###
2020-05-06 22:55:06 +00:00
POLLY: polly.o
ld65 -o POLLY polly.o -C ../../linker_scripts/apple2_1000.inc
2020-05-06 22:55:06 +00:00
polly.o: polly.s
ca65 -o polly.o polly.s -l polly.lst
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
2020-05-06 22:55:06 +00:00
####
clean:
2020-05-17 04:19:15 +00:00
rm -f *~ *.o *.lst HELLO POLLY BOOP
2020-05-06 22:55:06 +00:00