dos33fsprogs/ootw/Makefile

117 lines
3.4 KiB
Makefile
Raw Normal View History

2019-01-13 06:10:44 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2RLE = ../gr-utils/png2rle
all: ootw.dsk
2019-01-27 02:27:20 +00:00
ootw.dsk: HELLO OOTW INTRO
2019-01-13 06:10:44 +00:00
$(DOS33) -y ootw.dsk SAVE A HELLO
2019-01-18 05:18:06 +00:00
$(DOS33) -y ootw.dsk BSAVE -a 0x2000 OOTW
2019-01-27 02:52:00 +00:00
$(DOS33) -y ootw.dsk BSAVE -a 0x2000 INTRO
2019-01-13 06:10:44 +00:00
####
OOTW: ootw.o
2019-01-18 05:18:06 +00:00
ld65 -o OOTW ootw.o -C ../linker_scripts/apple2_2000.inc
2019-01-13 06:10:44 +00:00
2019-01-14 17:44:26 +00:00
ootw.o: ootw.s \
2019-01-14 04:37:49 +00:00
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
2019-01-20 04:51:58 +00:00
keyboard.s sluggy.s \
2019-01-20 06:45:51 +00:00
ootw_rope.s earthquake.s ootw_mesa.s \
2019-01-24 21:55:53 +00:00
ootw_pool.s ootw_cavern.s physicist.s random16.s \
cutscene_slug.s cutscene_beast.s \
2019-01-20 04:48:48 +00:00
ootw_pool.inc \
2019-01-23 04:00:59 +00:00
ootw_cavern.inc ootw_cavern2.inc ootw_cavern3.inc ootw_underwater.inc \
ootw_rope.inc \
2019-01-26 17:29:38 +00:00
sprites_physicist.inc sprites_slugs.inc \
sprites_ootw.inc sprites_beast.inc
2019-01-13 06:10:44 +00:00
ca65 -o ootw.o ootw.s -l ootw.lst
####
2019-01-27 02:27:20 +00:00
INTRO: intro.o
ld65 -o INTRO intro.o -C ../linker_scripts/apple2_2000.inc
intro.o: intro.s \
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
keyboard.s random16.s \
2019-01-27 05:20:20 +00:00
intro_building.inc intro_elevator.inc intro_off_elevator.inc \
2019-01-27 20:30:00 +00:00
intro_keypad.inc intro_scanner.inc intro_unzapped.inc \
intro_open_soda.inc intro_drinking.inc intro_collider_ui.inc \
2019-01-27 17:42:52 +00:00
intro_tunnel1.inc intro_tunnel2.inc intro_gone.inc
2019-01-27 02:27:20 +00:00
ca65 -o intro.o intro.s -l intro.lst
####
2019-01-13 06:10:44 +00:00
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
#####
2019-01-17 20:56:43 +00: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 06:10:44 +00:00
2019-01-20 04:48:48 +00:00
ootw_cavern2.inc: $(PNG2RLE) another_cave2.png
$(PNG2RLE) asm another_cave2.png cavern2_rle > ootw_cavern2.inc
ootw_cavern3.inc: $(PNG2RLE) another_cave3.png
$(PNG2RLE) asm another_cave3.png cavern3_rle > ootw_cavern3.inc
2019-01-19 04:23:18 +00:00
ootw_rope.inc: $(PNG2RLE) another_rope.png
$(PNG2RLE) asm another_rope.png rope_rle > ootw_rope.inc
2019-01-23 04:00:59 +00:00
ootw_underwater.inc: $(PNG2RLE) another_uboot.png
$(PNG2RLE) asm another_uboot.png underwater_rle > ootw_underwater.inc
2019-01-27 02:27:20 +00:00
#####
intro_building.inc: $(PNG2RLE) intro1_building.png
$(PNG2RLE) asm intro1_building.png building_rle > intro_building.inc
2019-01-27 05:20:20 +00:00
intro_elevator.inc: $(PNG2RLE) intro_elevator.png
$(PNG2RLE) asm intro_elevator.png elevator_rle > intro_elevator.inc
intro_off_elevator.inc: $(PNG2RLE) intro_off_elevator.png
$(PNG2RLE) asm intro_off_elevator.png off_elevator_rle > intro_off_elevator.inc
2019-01-27 20:30:00 +00:00
intro_keypad.inc: $(PNG2RLE) intro_keypad.png
$(PNG2RLE) asm intro_keypad.png keypad_rle > intro_keypad.inc
intro_scanner.inc: $(PNG2RLE) intro_scanner.png
$(PNG2RLE) asm intro_scanner.png scanner_rle > intro_scanner.inc
intro_open_soda.inc: $(PNG2RLE) intro_open_soda.png
$(PNG2RLE) asm intro_open_soda.png open_soda_rle > intro_open_soda.inc
2019-01-27 05:20:20 +00:00
intro_drinking.inc: $(PNG2RLE) intro_drinking.png
$(PNG2RLE) asm intro_drinking.png drinking_rle > intro_drinking.inc
2019-01-27 20:30:00 +00:00
intro_unzapped.inc: $(PNG2RLE) intro_unzapped.png
$(PNG2RLE) asm intro_unzapped.png unzapped_rle > intro_unzapped.inc
2019-01-27 05:20:20 +00:00
intro_gone.inc: $(PNG2RLE) intro_gone.png
$(PNG2RLE) asm intro_gone.png gone_rle > intro_gone.inc
2019-01-27 17:42:52 +00:00
intro_collider_ui.inc: $(PNG2RLE) intro_collider_ui.png
$(PNG2RLE) asm intro_collider_ui.png collider_ui_rle > intro_collider_ui.inc
intro_tunnel1.inc: $(PNG2RLE) intro_tunnel1.png
$(PNG2RLE) asm intro_tunnel1.png tunnel1_rle > intro_tunnel1.inc
2019-01-27 05:20:20 +00:00
intro_tunnel2.inc: $(PNG2RLE) intro_tunnel2.png
$(PNG2RLE) asm intro_tunnel2.png tunnel2_rle > intro_tunnel2.inc
2019-01-13 06:10:44 +00:00
#####
clean:
rm -f *~ *.o *.lst HELLO OOTW