mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-06 14:30:18 +00:00
8001a35f5c
still lots of work to do
75 lines
1.5 KiB
Makefile
75 lines
1.5 KiB
Makefile
include ../Makefile.inc
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
PNG2GR = ../gr-utils/png2gr
|
|
PNG2RLE = ../gr-utils/png2rle
|
|
|
|
ARTDIR = ./art
|
|
|
|
all: tfv.dsk
|
|
|
|
$(DOS33):
|
|
cd ../dos33fs-utils && make
|
|
|
|
tfv.dsk: $(DOS33) HELLO LOADER TFV_TITLE TFV
|
|
$(DOS33) -y tfv.dsk SAVE A HELLO
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x1000 LOADER
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 TFV_TITLE
|
|
$(DOS33) -y tfv.dsk BSAVE -a 0x2000 TFV
|
|
|
|
###
|
|
|
|
HELLO: hello.bas
|
|
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
|
|
|
|
####
|
|
|
|
LOADER: loader.o
|
|
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1000.inc
|
|
|
|
loader.o: loader.s init_vars.s common_defines.inc
|
|
ca65 -o loader.o loader.s -l loader.lst
|
|
|
|
###
|
|
|
|
TFV_TITLE: tfv_title.o
|
|
ld65 -o TFV_TITLE tfv_title.o -C ../linker_scripts/apple2_2000.inc
|
|
|
|
tfv_title.o: tfv_title.s \
|
|
gr_vlin.s tfv_opener.s \
|
|
graphics_title/tfv_title.inc
|
|
ca65 -o tfv_title.o tfv_title.s -l tfv_title.lst
|
|
|
|
###
|
|
|
|
TFV: tfv.o
|
|
ld65 -o TFV tfv.o -C ../linker_scripts/apple2_2000.inc
|
|
|
|
tfv.o: tfv.s \
|
|
tfv_flying.s tfv_info.s \
|
|
tfv_textentry.s tfv_worldmap.s \
|
|
graphics_map/tfv_backgrounds.inc tfv_sprites.inc zp.inc \
|
|
../asm_routines/multiply_fast.s \
|
|
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
|
|
|
|
graphics_map/tfv_backgrounds.inc:
|
|
cd graphics_map && make
|
|
|
|
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ TITLE.GR *.o *.lst TFV TFV_TITLE HELLO LOADER
|
|
|