mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-14 10:29:46 +00:00
79 lines
2.0 KiB
Makefile
79 lines
2.0 KiB
Makefile
include ../Makefile.inc
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
PNG2GR = ../gr-utils/png2gr
|
|
PNG2RLE = ../gr-utils/png2rle
|
|
|
|
all: tfv.dsk
|
|
|
|
$(PNG2RLE):
|
|
cd ../gr-utils && make
|
|
|
|
$(DOS33):
|
|
cd ../dos33fs-utils && make
|
|
|
|
tfv.dsk: $(DOS33) TFV ED HIGHWIND.ED FIGHTING.ED
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x1000 TFV
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x900 ED
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 HIGHWIND.ED
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 FIGHTING.ED
|
|
|
|
ED: duet.o
|
|
ld65 -o ED duet.o -C ./apple2_900.inc
|
|
|
|
duet.o: duet.s
|
|
ca65 -o duet.o duet.s -l duet.lst
|
|
|
|
|
|
|
|
|
|
|
|
tfv_backgrounds.inc: $(PNG2RLE) \
|
|
title.png map.png \
|
|
landing.png harfco.png \
|
|
belair.png \
|
|
math_office.png video_hr.png \
|
|
collegep.png \
|
|
umcp.png \
|
|
dining.png metro.png talbot.png
|
|
$(PNG2RLE) asm title.png title_rle > tfv_backgrounds.inc
|
|
$(PNG2RLE) asm map.png map_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm landing.png landing_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm harfco.png harfco_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm belair.png belair_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm math_office.png math_office_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm video_hr.png video_hr_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm collegep.png collegep_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm umcp.png umcp_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm dining.png dining_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm metro.png metro_rle >> tfv_backgrounds.inc
|
|
$(PNG2RLE) asm talbot.png talbot_rle >> tfv_backgrounds.inc
|
|
|
|
###
|
|
|
|
TFV: tfv.o
|
|
ld65 -o TFV tfv.o -C ./apple2_1000.inc
|
|
|
|
tfv.o: tfv.s \
|
|
tfv_flying.s tfv_info.s tfv_opener.s tfv_title.s \
|
|
tfv_textentry.s tfv_worldmap.s \
|
|
tfv_backgrounds.inc tfv_sprites.inc tfv_zp.inc \
|
|
../asm_routines/multiply_fast.s \
|
|
../asm_routines/gr_fast_clear.s \
|
|
../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
|
|
|