mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-18 16:30:59 +00:00
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
|
PNG2GR = ../../../utils/gr-utils/png2gr
|
|
PNG2RLE = ../../../utils/gr-utils/png2rle
|
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
|
LINKERSCRIPTS = ../../../linker_scripts
|
|
EMPTY_DISK = ../../../empty_disk
|
|
|
|
all: scroller.dsk
|
|
|
|
$(DOS33):
|
|
cd ../../../utils/dos33fs-utils && make
|
|
|
|
scroller.dsk: $(DOS33) HELLO DIAMOND DIAMOND_BOT
|
|
cp $(EMPTY_DISK)/empty.dsk scroller.dsk
|
|
$(DOS33) -y scroller.dsk SAVE A HELLO
|
|
$(DOS33) -y scroller.dsk BSAVE -a 0xc00 DIAMOND
|
|
$(DOS33) -y scroller.dsk BSAVE -a 0x36B DIAMOND_BOT
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
$(TOKENIZE) < hello.bas > HELLO
|
|
|
|
###
|
|
|
|
DIAMOND: diamond.o
|
|
ld65 -o DIAMOND diamond.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
|
|
|
diamond.o: diamond.s
|
|
ca65 -o diamond.o diamond.s -l diamond.lst
|
|
|
|
###
|
|
|
|
DIAMOND_BOT: diamond_bot.o
|
|
ld65 -o DIAMOND_BOT diamond_bot.o -C $(LINKERSCRIPTS)/apple2_36b.inc
|
|
|
|
diamond_bot.o: diamond_bot.s
|
|
ca65 -o diamond_bot.o diamond_bot.s -l diamond_bot.lst
|
|
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst HELLO DIAMOND DIAMOND_BOT
|
|
|