dos33fsprogs/games/tfv/Makefile

113 lines
2.8 KiB
Makefile
Raw Normal View History

2021-01-06 02:03:44 +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
2018-06-11 04:08:39 +00:00
ARTDIR = ./art
all: tfv.dsk
$(DOS33):
2021-01-06 02:03:44 +00:00
cd ../../utils/dos33fs-utils && make
tfv.dsk: $(DOS33) HELLO LOADER TFV_CREDITS TFV_TITLE TFV_FLYING TFV_WORLD
$(DOS33) -y tfv.dsk SAVE A HELLO
$(DOS33) -y tfv.dsk BSAVE -a 0x1000 LOADER
$(DOS33) -y tfv.dsk BSAVE -a 0x4000 TFV_CREDITS
2021-01-29 05:00:53 +00:00
$(DOS33) -y tfv.dsk BSAVE -a 0x4000 TFV_TITLE
2020-12-30 06:41:14 +00:00
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 TFV_FLYING
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 TFV_WORLD
###
HELLO: hello.bas
2021-01-06 02:03:44 +00:00
$(TOKENIZE) < hello.bas > HELLO
####
LOADER: loader.o
2021-01-06 02:03:44 +00:00
ld65 -o LOADER loader.o -C ../../linker_scripts/apple2_1000.inc
2021-01-11 20:20:43 +00:00
loader.o: loader.s init_vars.s common_defines.inc zp.inc
ca65 -o loader.o loader.s -l loader.lst
###
2021-01-20 21:34:58 +00:00
credits.o: credits.s zp.inc credits_sprites.inc mockingboard.s \
vapor_lock.s gr_putsprite.s move_letters.s \
./graphics_credits/KATC.lzsa
ca65 -o credits.o credits.s -l credits.lst
TFV_CREDITS: credits.o
ld65 -o TFV_CREDITS credits.o -C ../../linker_scripts/apple2_4000.inc
###
TFV_TITLE: tfv_title.o
2021-01-29 05:00:53 +00:00
ld65 -o TFV_TITLE tfv_title.o -C ../../linker_scripts/apple2_4000.inc
2021-01-11 20:20:43 +00:00
tfv_title.o: tfv_title.s zp.inc \
gr_vlin.s tfv_opener.s \
2020-12-30 06:00:25 +00:00
draw_menu.s keyboard.s joystick.s \
2021-01-20 21:34:58 +00:00
load_game.s tfv_textentry.s \
graphics_title/tfv_title.inc
ca65 -o tfv_title.o tfv_title.s -l tfv_title.lst
###
2020-12-30 06:41:14 +00:00
###
TFV_FLYING: tfv_flying.o
2021-01-06 02:03:44 +00:00
ld65 -o TFV_FLYING tfv_flying.o -C ../../linker_scripts/apple2_2000.inc
2020-12-30 06:41:14 +00:00
2021-01-11 20:20:43 +00:00
tfv_flying.o: tfv_flying.s zp.inc \
gr_putsprite.s \
2020-12-31 20:01:44 +00:00
help_flying.s \
2020-12-30 23:25:43 +00:00
flying_mode7.s flying_sprites.inc
2020-12-30 06:41:14 +00:00
ca65 -o tfv_flying.o tfv_flying.s -l tfv_flying.lst
###
TFV_WORLD: tfv_world.o
2021-01-06 02:03:44 +00:00
ld65 -o TFV_WORLD tfv_world.o -C ../../linker_scripts/apple2_2000.inc
2020-12-30 06:41:14 +00:00
2021-01-11 20:20:43 +00:00
tfv_world.o: tfv_world.s zp.inc \
2021-02-10 18:16:52 +00:00
long_wait.s gr_put_num.s gr_putsprite_mask.s gr_hlin.s \
tfv_overworld.s tfv_drawmap.s tfv_info.s \
2021-01-17 20:22:30 +00:00
tfv_battle.s tfv_battle_menu.s tfv_battle_limit.s tfv_battle_summons.s \
2021-01-17 21:12:06 +00:00
tfv_battle_magic.s tfv_battle_enemy.s tfv_battle_draw_hero.s \
2021-01-17 21:14:56 +00:00
tfv_battle_boss.s tfv_battle_attack.s \
help_overworld.s rotate_intro.s rotozoom.s \
2021-01-17 18:54:29 +00:00
sound_effects.s speaker_tone.s \
2021-01-13 20:17:15 +00:00
graphics_map/tfv_backgrounds.inc \
2021-01-19 18:51:00 +00:00
graphics_battle/battle_graphics.inc \
2021-01-19 19:39:37 +00:00
tfv_sprites.inc battle_sprites.inc \
2021-01-19 21:27:24 +00:00
play_music.s music/fighting.pt3 music/victory.pt3 music/battle_music.inc
2020-12-30 06:41:14 +00:00
ca65 -o tfv_world.o tfv_world.s -l tfv_world.lst
2021-01-20 21:34:58 +00:00
graphics_credits/KATC.lzsa:
cd graphics_credits && make
graphics_map/tfv_backgrounds.inc:
cd graphics_map && make
2021-01-19 18:51:00 +00:00
graphics_battle/battle_graphics.inc:
cd graphics_battle && make
2021-01-19 21:27:24 +00:00
music/battle_music.inc:
2021-01-20 21:34:58 +00:00
cd music && make
2021-01-19 21:27:24 +00:00
###
clean:
rm -f *~ TITLE.GR *.o *.lst TFV_CREDITS TFV_TITLE TFV_FLYING TFV_WORLD HELLO LOADER
2021-01-19 18:51:00 +00:00
cd graphics_battle && make clean
2021-01-20 21:36:26 +00:00
cd graphics_credits && make clean
2021-01-19 21:27:24 +00:00
cd music && make clean