dos33fsprogs/games/riven_hgr/disk05_files/Makefile
2024-08-16 01:46:45 -04:00

66 lines
1.3 KiB
Makefile

include ../../../Makefile.inc
LINKER_SCRIPTS = ../../../linker_scripts/
all: DISK05 LEVEL_CHAIR LEVEL_CHAIR2
####
DISK05: disk05.o
ld65 -o DISK05 disk05.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
disk05.o: disk05.s ../zp.inc
ca65 -o disk05.o disk05.s -l disk05.lst
####
LEVEL_CHAIR: level_chair.o
ld65 -o LEVEL_CHAIR level_chair.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_chair.o: level_chair.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk05_defines.inc \
leveldata_chair.inc \
graphics_chair/chair_graphics.inc
ca65 -o level_chair.o level_chair.s -l level_chair.lst
####
LEVEL_CHAIR2: level_chair2.o
ld65 -o LEVEL_CHAIR2 level_chair2.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_chair2.o: level_chair2.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk05_defines.inc \
leveldata_chair2.inc \
graphics_chair2/chair2_graphics.inc
ca65 -o level_chair2.o level_chair2.s -l level_chair2.lst
####
graphics_chair/chair_graphics.inc:
cd graphics_chair && make
graphics_chair2/chair2_graphics.inc:
cd graphics_chair2 && make
####
clean:
rm -f *~ *.o *.lst DISK05 \
LEVEL_CHAIR LEVEL_CHAIR2
####
distclean:
rm -f *~ *.o *.lst DISK05 \
LEVEL_CHAIR LEVEL_CHAIR2
cd graphics_chair && make clean
cd graphics_chair2 && make clean