mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-04 05:05:13 +00:00
48 lines
869 B
Makefile
48 lines
869 B
Makefile
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
|
|
|
|
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
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
####
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst HELLO POLLY BOOP
|
|
|
|
|