dos33fsprogs/tfv/Makefile

65 lines
1.6 KiB
Makefile
Raw Normal View History

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
2017-05-12 18:29:21 +00:00
$(DOS33) -y tfv.dsk BSAVE -a 0x1000 TFV
2017-05-02 03:16:17 +00:00
$(DOS33) -y tfv.dsk BSAVE -a 0x900 ED
2017-06-25 04:00:16 +00:00
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 HIGHWIND.ED
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 FIGHTING.ED
2017-05-02 03:16:17 +00:00
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
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 > backgrounds.inc
$(PNG2RLE) asm map.png map_rle >> backgrounds.inc
$(PNG2RLE) asm landing.png landing_rle >> backgrounds.inc
$(PNG2RLE) asm harfco.png harfco_rle >> backgrounds.inc
$(PNG2RLE) asm belair.png belair_rle >> backgrounds.inc
$(PNG2RLE) asm math_office.png math_office_rle >> backgrounds.inc
$(PNG2RLE) asm video_hr.png video_hr_rle >> backgrounds.inc
$(PNG2RLE) asm collegep.png collegep_rle >> backgrounds.inc
$(PNG2RLE) asm umcp.png umcp_rle >> backgrounds.inc
$(PNG2RLE) asm dining.png dining_rle >> backgrounds.inc
$(PNG2RLE) asm metro.png metro_rle >> backgrounds.inc
$(PNG2RLE) asm talbot.png talbot_rle >> backgrounds.inc
###
TFV: tfv.o
ld65 -o TFV tfv.o -C ./apple2_1000.inc
tfv.o: tfv.s tfv_flying.s tfv_opener.s tfv_title.s tfv_textentry.s tfv_utils.s tfv_backgrounds.inc tfv_zp.inc
ca65 -o tfv.o tfv.s -l tfv.lst
clean:
2017-05-02 03:16:17 +00:00
rm -f *~ TITLE.GR *.o *.lst ED
2017-05-12 18:29:21 +00:00