dos33fsprogs/games/lemm/Makefile

60 lines
1.3 KiB
Makefile
Raw Normal View History

include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
DOS33_RAW = ../../utils/dos33fs-utils/dos33_raw
B2D = ../../utils/bmp2dhr/b2d
PNG2GR = ../../utils/gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
EMPTY_DISK = ../../empty_disk/empty.dsk
all: lemm.dsk
2022-03-07 13:53:14 +00:00
lemm.dsk: HELLO LEMM LEMM_TEST
cp $(EMPTY_DISK) lemm.dsk
$(DOS33) -y lemm.dsk SAVE A HELLO
2022-03-07 13:53:14 +00:00
$(DOS33) -y lemm.dsk BSAVE -a 0x6000 LEMM
$(DOS33) -y lemm.dsk BSAVE -a 0x4000 LEMM_TEST
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
####
LEMM_TEST: lemm_test.o
ld65 -o LEMM_TEST lemm_test.o -C ../../linker_scripts/apple2_4000.inc
lemm_test.o: lemm_test.s zp.inc hardware.inc \
2022-03-06 04:25:44 +00:00
graphics/graphics_test.inc \
2022-03-10 06:10:42 +00:00
interrupt_handler.s
ca65 -o lemm_test.o lemm_test.s -l lemm_test.lst
####
2022-03-07 13:53:14 +00:00
LEMM: lemm.o
ld65 -o LEMM lemm.o -C ../../linker_scripts/apple2_6000.inc
lemm.o: lemm.s zp.inc hardware.inc \
2022-03-12 23:03:53 +00:00
graphics/graphics_test.inc graphics/sprites.inc \
2022-03-09 05:35:13 +00:00
intro_level1.s update_time.s hgr_sprite.s draw_flames.s \
2022-03-10 06:10:42 +00:00
draw_door.s move_lemming.s draw_lemming.s \
2022-03-11 06:22:51 +00:00
interrupt_handler.s keyboard.s \
2022-03-13 05:46:46 +00:00
pointer_sprites.inc \
2022-03-11 06:22:51 +00:00
level1.s
2022-03-07 13:53:14 +00:00
ca65 -o lemm.o lemm.s -l lemm.lst
####
graphics/graphics_test.inc:
cd graphics && make
####
clean:
2022-03-07 13:53:14 +00:00
rm -f *~ *.o *.lst HELLO LEMM LEMM_TEST