dos33fsprogs/ootw/Makefile

53 lines
1.1 KiB
Makefile
Raw Normal View History

2019-01-13 01:10:44 -05:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2RLE = ../gr-utils/png2rle
all: ootw.dsk
ootw.dsk: HELLO OOTW
$(DOS33) -y ootw.dsk SAVE A HELLO
2019-01-18 00:18:06 -05:00
$(DOS33) -y ootw.dsk BSAVE -a 0x2000 OOTW
2019-01-13 01:10:44 -05:00
####
OOTW: ootw.o
2019-01-18 00:18:06 -05:00
ld65 -o OOTW ootw.o -C ../linker_scripts/apple2_2000.inc
2019-01-13 01:10:44 -05:00
2019-01-14 12:44:26 -05:00
ootw.o: ootw.s \
2019-01-13 23:37:49 -05:00
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
keyboard.s \
2019-01-18 23:23:18 -05:00
ootw_rope.s \
2019-01-18 13:51:09 -05:00
ootw_pool.s ootw_cavern.s physicist.s random16.s slug_cutscene.s \
2019-01-18 23:23:18 -05:00
ootw_pool.inc ootw_cavern.inc ootw_quake.inc ootw_rope.inc \
ootw_sprites.inc
2019-01-13 01:10:44 -05:00
ca65 -o ootw.o ootw.s -l ootw.lst
####
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
#####
2019-01-17 15:56:43 -05:00
ootw_pool.inc: $(PNG2RLE) another.png
$(PNG2RLE) asm another.png pool_rle > ootw_pool.inc
ootw_cavern.inc: $(PNG2RLE) another_cave.png
$(PNG2RLE) asm another_cave.png cavern_rle > ootw_cavern.inc
2019-01-13 01:10:44 -05:00
2019-01-18 00:18:06 -05:00
ootw_quake.inc: $(PNG2RLE) another_cave_shake.png
$(PNG2RLE) asm another_cave_shake.png quake_rle > ootw_quake.inc
2019-01-18 23:23:18 -05:00
ootw_rope.inc: $(PNG2RLE) another_rope.png
$(PNG2RLE) asm another_rope.png rope_rle > ootw_rope.inc
2019-01-13 01:10:44 -05:00
#####
clean:
rm -f *~ *.o *.lst HELLO OOTW