dos33fsprogs/tfv/Makefile

71 lines
2.1 KiB
Makefile
Raw Normal View History

include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2GR = ../gr-utils/png2gr
PNG2RLE = ../gr-utils/png2rle
2018-06-11 04:08:39 +00:00
ARTDIR = ./art
all: tfv.dsk
$(PNG2RLE):
cd ../gr-utils && make
$(DOS33):
cd ../dos33fs-utils && make
2018-06-11 04:08:39 +00:00
tfv.dsk: $(DOS33) TFV
2017-05-12 18:29:21 +00:00
$(DOS33) -y tfv.dsk BSAVE -a 0x1000 TFV
# $(DOS33) -y tfv.dsk BSAVE -a 0x2000 HIGHWIND.ED
# $(DOS33) -y tfv.dsk BSAVE -a 0x2000 FIGHTING.ED
2017-11-17 06:11:06 +00:00
tfv_backgrounds.inc: $(PNG2RLE) \
2018-06-11 04:08:39 +00:00
$(ARTDIR)/title.png $(ARTDIR)/map.png \
$(ARTDIR)/landing.png $(ARTDIR)/harfco.png \
$(ARTDIR)/belair.png \
$(ARTDIR)/math_office.png $(ARTDIR)/video_hr.png \
$(ARTDIR)/collegep.png \
$(ARTDIR)/umcp.png \
$(ARTDIR)/dining.png $(ARTDIR)/metro.png $(ARTDIR)/talbot.png
$(PNG2RLE) asm $(ARTDIR)/title.png title_rle > tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/map.png map_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/landing.png landing_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/harfco.png harfco_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/belair.png belair_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/math_office.png math_office_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/video_hr.png video_hr_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/collegep.png collegep_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/umcp.png umcp_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/dining.png dining_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/metro.png metro_rle >> tfv_backgrounds.inc
$(PNG2RLE) asm $(ARTDIR)/talbot.png talbot_rle >> tfv_backgrounds.inc
###
TFV: tfv.o
ld65 -o TFV tfv.o -C ../linker_scripts/apple2_1000.inc
2017-08-23 17:25:44 +00:00
tfv.o: tfv.s \
2017-12-16 19:17:33 +00:00
tfv_flying.s tfv_info.s tfv_opener.s tfv_title.s \
2017-12-16 19:11:46 +00:00
tfv_textentry.s tfv_worldmap.s \
tfv_backgrounds.inc tfv_sprites.inc tfv_zp.inc \
2017-12-16 19:17:33 +00:00
../asm_routines/multiply_fast.s \
2017-12-31 20:22:38 +00:00
../asm_routines/gr_fast_clear.s \
2017-12-16 19:11:46 +00:00
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/keypress.s \
../asm_routines/gr_putsprite.s \
../asm_routines/text_print.s \
../asm_routines/memset.s \
../asm_routines/gr_vlin.s \
../asm_routines/gr_copy.s \
../asm_routines/gr_unrle.s
ca65 -o tfv.o tfv.s -l tfv.lst
clean:
rm -f *~ TITLE.GR *.o *.lst ED TFV
2017-05-12 18:29:21 +00:00