80 lines
1.9 KiB
Makefile
Raw Normal View History

2024-06-18 01:46:16 -04:00
include ../../../Makefile.inc
LINKER_SCRIPTS = ../../../linker_scripts/
2024-07-18 00:00:14 -04:00
all: DISK01 LEVEL_ARRIVAL LEVEL_ARRIVAL2 LEVEL_TELESCOPE
2024-06-18 01:46:16 -04:00
####
DISK01: disk01.o
ld65 -o DISK01 disk01.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
disk01.o: disk01.s ../zp.inc
ca65 -o disk01.o disk01.s -l disk01.lst
####
2024-06-18 01:46:16 -04:00
LEVEL_ARRIVAL: level_arrival.o
ld65 -o LEVEL_ARRIVAL level_arrival.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_arrival.o: level_arrival.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk01_defines.inc \
leveldata_arrival.inc \
graphics_arrival/arrival_graphics.inc
ca65 -o level_arrival.o level_arrival.s -l level_arrival.lst
####
2024-07-18 00:00:14 -04:00
LEVEL_ARRIVAL2: level_arrival2.o
ld65 -o LEVEL_ARRIVAL2 level_arrival2.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_arrival2.o: level_arrival2.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk01_defines.inc \
leveldata_arrival2.inc \
graphics_arrival2/arrival2_graphics.inc
ca65 -o level_arrival2.o level_arrival2.s -l level_arrival2.lst
####
2024-07-01 12:02:52 -04:00
LEVEL_TELESCOPE: level_telescope.o
ld65 -o LEVEL_TELESCOPE level_telescope.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_telescope.o: level_telescope.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk01_defines.inc \
leveldata_telescope.inc \
graphics_telescope/telescope_graphics.inc
ca65 -o level_telescope.o level_telescope.s -l level_telescope.lst
####
2024-06-18 01:46:16 -04:00
graphics_arrival/arrival_graphics.inc:
cd graphics_arrival && make
2024-07-18 00:00:14 -04:00
graphics_arrival2/arrival2_graphics.inc:
cd graphics_arrival2 && make
2024-07-01 12:02:52 -04:00
graphics_telescope/telescope_graphics.inc:
cd graphics_telescope && make
2024-06-18 01:46:16 -04:00
####
clean:
rm -f *~ *.o *.lst \
2024-07-18 00:00:14 -04:00
DISK01 LEVEL_ARRIVAL LEVEL_ARRIVAL2 LEVEL_TELESCOPE
2024-06-18 01:46:16 -04:00
####
distclean:
rm -f *~ *.o *.lst \
2024-07-18 00:00:14 -04:00
DISK01 LEVEL_ARRIVAL LEVEL_ARRIVAL2 LEVEL_TELESCOPE
2024-06-18 01:46:16 -04:00
cd graphics_arrival && make clean
2024-07-18 00:00:14 -04:00
cd graphics_arrival2 && make clean
2024-07-01 12:02:52 -04:00
cd graphics_telescope && make clean
2024-06-18 01:46:16 -04:00