mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-03 18:29:53 +00:00
66 lines
1.3 KiB
Makefile
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
|
|
|
|
|
|
|