dos33fsprogs/graphics/gr/scroll/Makefile

75 lines
1.7 KiB
Makefile
Raw Normal View History

2022-04-26 12:09:54 +00:00
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
2022-05-08 05:14:52 +00:00
scroller.dsk: $(DOS33) HELLO DIAMOND DIAMOND_BOT RANDOM RANDOM_BOT RANDOM_128
2022-04-26 12:09:54 +00:00
cp $(EMPTY_DISK)/empty.dsk scroller.dsk
$(DOS33) -y scroller.dsk SAVE A HELLO
2022-04-28 04:29:10 +00:00
$(DOS33) -y scroller.dsk BSAVE -a 0xc00 DIAMOND
$(DOS33) -y scroller.dsk BSAVE -a 0x36B DIAMOND_BOT
2022-05-03 02:50:11 +00:00
$(DOS33) -y scroller.dsk BSAVE -a 0xc00 RANDOM
2022-05-03 04:36:58 +00:00
$(DOS33) -y scroller.dsk BSAVE -a 0x36B RANDOM_BOT
2022-05-08 05:14:52 +00:00
$(DOS33) -y scroller.dsk BSAVE -a 0x70 RANDOM_128
2022-04-26 12:09:54 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
2022-04-28 04:29:10 +00:00
DIAMOND: diamond.o
ld65 -o DIAMOND diamond.o -C $(LINKERSCRIPTS)/apple2_c00.inc
2022-04-26 12:09:54 +00:00
2022-04-28 04:29:10 +00:00
diamond.o: diamond.s
ca65 -o diamond.o diamond.s -l diamond.lst
2022-04-26 12:09:54 +00:00
###
2022-04-28 04:29:10 +00:00
DIAMOND_BOT: diamond_bot.o
ld65 -o DIAMOND_BOT diamond_bot.o -C $(LINKERSCRIPTS)/apple2_36b.inc
2022-04-26 12:09:54 +00:00
2022-04-28 04:29:10 +00:00
diamond_bot.o: diamond_bot.s
ca65 -o diamond_bot.o diamond_bot.s -l diamond_bot.lst
2022-04-26 12:09:54 +00:00
2022-05-03 02:50:11 +00:00
###
RANDOM: random.o
ld65 -o RANDOM random.o -C $(LINKERSCRIPTS)/apple2_c00.inc
random.o: random.s
ca65 -o random.o random.s -l random.lst
2022-04-26 12:09:54 +00:00
###
2022-05-08 05:14:52 +00:00
RANDOM_128: random_128.o
ld65 -o RANDOM_128 random_128.o -C $(LINKERSCRIPTS)/apple2_70_zp.inc
random_128.o: random_128.s
ca65 -o random_128.o random_128.s -l random_128.lst
###
2022-05-03 02:50:11 +00:00
RANDOM_BOT: random_bot.o
2022-05-03 04:36:58 +00:00
ld65 -o RANDOM_BOT random_bot.o -C $(LINKERSCRIPTS)/apple2_36b.inc
2022-05-03 02:50:11 +00:00
random_bot.o: random_bot.s
ca65 -o random_bot.o random_bot.s -l random_bot.lst
###
2022-04-26 12:09:54 +00:00
clean:
2022-05-03 02:50:11 +00:00
rm -f *~ *.o *.lst HELLO DIAMOND DIAMOND_BOT RANDOM
2022-04-26 12:09:54 +00:00