dos33fsprogs/polly/Makefile
2020-05-17 00:19:15 -04:00

47 lines
783 B
Makefile

include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG_TO_40x96 = ../gr-utils/png_to_40x96
PNG_TO_40x48D = ../gr-utils/png_to_40x48d
PNG2RLE = ../gr-utils/png2rle
B2D = ../bmp2dhr/b2d
all: polly.dsk
polly.dsk: HELLO POLLY BOOP
cp empty.dsk polly.dsk
$(DOS33) -y polly.dsk SAVE A HELLO
$(DOS33) -y polly.dsk BSAVE -a 0x1000 POLLY
$(DOS33) -y polly.dsk BSAVE -a 0x1000 BOOP
BOOP: boop.o
ld65 -o BOOP boop.o -C ../linker_scripts/apple2_1000.inc
boop.o: boop.s
ca65 -o boop.o boop.s -l boop.lst
###
POLLY: polly.o
ld65 -o POLLY polly.o -C ../linker_scripts/apple2_1000.inc
polly.o: polly.s
ca65 -o polly.o polly.s -l polly.lst
###
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
####
clean:
rm -f *~ *.o *.lst HELLO POLLY BOOP