mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-15 12:31:53 +00:00
118 lines
2.7 KiB
Makefile
118 lines
2.7 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
LINKER_SCRIPTS = ../../../linker_scripts/
|
|
|
|
all: DISK02 LEVEL_STEPS1 LEVEL_STEPS3 LEVEL_TOP LEVEL_BRIDGE LEVEL_ALCOVE
|
|
|
|
####
|
|
|
|
DISK02: disk02.o
|
|
ld65 -o DISK02 disk02.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
disk02.o: disk02.s ../zp.inc
|
|
ca65 -o disk02.o disk02.s -l disk02.lst
|
|
|
|
####
|
|
|
|
LEVEL_STEPS1: level_steps1.o
|
|
ld65 -o LEVEL_STEPS1 level_steps1.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_steps1.o: level_steps1.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk02_defines.inc \
|
|
leveldata_steps1.inc \
|
|
graphics_steps1/steps1_graphics.inc
|
|
ca65 -o level_steps1.o level_steps1.s -l level_steps1.lst
|
|
|
|
####
|
|
|
|
LEVEL_STEPS3: level_steps3.o
|
|
ld65 -o LEVEL_STEPS3 level_steps3.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_steps3.o: level_steps3.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk02_defines.inc \
|
|
leveldata_steps3.inc \
|
|
graphics_steps3/steps3_graphics.inc
|
|
ca65 -o level_steps3.o level_steps3.s -l level_steps3.lst
|
|
|
|
|
|
####
|
|
|
|
LEVEL_TOP: level_top.o
|
|
ld65 -o LEVEL_TOP level_top.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_top.o: level_top.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk02_defines.inc \
|
|
leveldata_top.inc \
|
|
graphics_top/top_graphics.inc
|
|
ca65 -o level_top.o level_top.s -l level_top.lst
|
|
|
|
####
|
|
|
|
LEVEL_ALCOVE: level_alcove.o
|
|
ld65 -o LEVEL_ALCOVE level_alcove.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_alcove.o: level_alcove.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk02_defines.inc \
|
|
leveldata_alcove.inc \
|
|
audio/rotate.btc.zx02 \
|
|
graphics_alcove/alcove_graphics.inc
|
|
ca65 -o level_alcove.o level_alcove.s -l level_alcove.lst
|
|
|
|
|
|
####
|
|
|
|
LEVEL_BRIDGE: level_bridge.o
|
|
ld65 -o LEVEL_BRIDGE level_bridge.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_bridge.o: level_bridge.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk02_defines.inc \
|
|
leveldata_bridge.inc \
|
|
graphics_bridge/bridge_graphics.inc
|
|
ca65 -o level_bridge.o level_bridge.s -l level_bridge.lst
|
|
|
|
|
|
####
|
|
|
|
graphics_steps1/steps1_graphics.inc:
|
|
cd graphics_steps1 && make
|
|
|
|
graphics_steps3/steps3_graphics.inc:
|
|
cd graphics_steps3 && make
|
|
|
|
graphics_top/top_graphics.inc:
|
|
cd graphics_top && make
|
|
|
|
graphics_bridge/bridge_graphics.inc:
|
|
cd graphics_bridge && make
|
|
|
|
graphics_alcove/alcove_graphics.inc:
|
|
cd graphics_alcove && make
|
|
|
|
audio/rotate.btc.zx02:
|
|
cd audio && make
|
|
|
|
####
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst \
|
|
LEVEL_STEPS1 LEVEL_STEPS3 LEVEL_TOP LEVEL_BRIDGE LEVEL_ALCOVE
|
|
|
|
####
|
|
|
|
distclean:
|
|
rm -f *~ *.o *.lst \
|
|
LEVEL_STEPS1 LEVEL_STEPS3 LEVEL_TOP LEVEL_BRIDGE LEVEL_ALCOVE
|
|
cd graphics_steps1 && make clean
|
|
cd graphics_steps3 && make clean
|
|
cd graphics_top && make clean
|
|
cd graphics_bridge && make clean
|
|
cd graphics_alcove && make clean
|
|
|
|
|
|
|