dos33fsprogs/mist/Makefile

70 lines
1.5 KiB
Makefile
Raw Normal View History

2020-02-28 20:55:57 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG_TO_40x96 = ../gr-utils/png_to_40x96
PNG_TO_40x48D = ../gr-utils/png_to_40x48d
PNG2RLE = ../gr-utils/png2rle
B2D = ../bmp2dhr/b2d
all: mist.dsk
2020-03-04 21:14:41 +00:00
mist.dsk: HELLO LOADER MIST MIST_TITLE
2020-02-28 20:55:57 +00:00
cp empty.dsk mist.dsk
$(DOS33) -y mist.dsk SAVE A HELLO
2020-03-02 21:50:00 +00:00
$(DOS33) -y mist.dsk BSAVE -a 0x800 LOADER
2020-02-28 20:55:57 +00:00
$(DOS33) -y mist.dsk BSAVE -a 0x1000 MIST
2020-03-02 21:50:00 +00:00
$(DOS33) -y mist.dsk BSAVE -a 0x4000 MIST_TITLE
2020-03-04 21:14:41 +00:00
# $(DOS33) -y mist.dsk BSAVE -a 0xa000 MIST_TITLE.LZ4
2020-03-02 04:09:35 +00:00
# $(DOS33) -y mist.dsk BSAVE -a 0x4000 STEPS_HGRC.BIN
2020-02-28 20:55:57 +00:00
2020-03-02 21:50:00 +00:00
###
LOADER: loader.o
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_800.inc
loader.o: loader.s
ca65 -o loader.o loader.s -l loader.lst
2020-02-28 20:55:57 +00:00
###
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
####
2020-03-01 05:37:09 +00:00
MIST_TITLE: mist_title.o
2020-03-02 21:50:00 +00:00
ld65 -o MIST_TITLE mist_title.o -C ../linker_scripts/apple2_4000.inc
2020-03-01 05:37:09 +00:00
2020-03-04 21:14:41 +00:00
mist_title.o: mist_title.s zp.inc hardware.inc \
2020-03-05 06:01:16 +00:00
graphics_title/mist_title.lzsa
2020-03-01 05:37:09 +00:00
ca65 -o mist_title.o mist_title.s -l mist_title.lst
####
2020-02-28 20:55:57 +00:00
MIST: mist.o
ld65 -o MIST mist.o -C ../linker_scripts/apple2_1000.inc
2020-03-01 05:37:09 +00:00
mist.o: mist.s zp.inc hardware.inc \
2020-03-04 21:14:41 +00:00
graphics_island/mist_graphics.inc \
2020-03-06 20:19:35 +00:00
common_sprites.inc \
2020-03-06 20:29:13 +00:00
leveldata_island.inc \
2020-03-07 16:06:29 +00:00
clock_bridge_puzzle.s clock_sprites.inc \
2020-03-07 16:16:44 +00:00
link_book_mist.s \
letter_cat.s \
marker_switch.s \
brother_books.s \
2020-03-05 05:25:59 +00:00
gr_copy.s audio.s text_print.s decompress_fast_v2.s
2020-02-28 20:55:57 +00:00
ca65 -o mist.o mist.s -l mist.lst
####
2020-03-04 21:14:41 +00:00
graphics_island/mist_graphics.inc:
cd graphics_island && make
2020-03-02 21:50:00 +00:00
2020-02-28 20:55:57 +00:00
####
clean:
2020-03-04 21:14:41 +00:00
rm -f *~ *.o *.lst HELLO LOADER MIST MIST_TITLE