112 lines
2.7 KiB
Makefile
Raw Normal View History

2024-06-17 01:28:11 -04:00
include ../../../Makefile.inc
LINKER_SCRIPTS = ../../../linker_scripts/
all: DISK43 LEVEL_CART LEVEL_BRIDGE LEVEL_LOGGED LEVEL_LOGGED2 \
MOVIE_CART_RIDE
####
DISK43: disk43.o
ld65 -o DISK43 disk43.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
disk43.o: disk43.s ../zp.inc
ca65 -o disk43.o disk43.s -l disk43.lst
2024-06-17 01:28:11 -04:00
####
LEVEL_CART: level_cart.o
ld65 -o LEVEL_CART level_cart.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_cart.o: level_cart.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk43_defines.inc \
leveldata_cart.inc \
graphics_cart/cart_graphics.inc
ca65 -o level_cart.o level_cart.s -l level_cart.lst
####
2024-06-24 23:57:20 -04:00
LEVEL_BRIDGE: level_bridge.o
ld65 -o LEVEL_BRIDGE level_bridge.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
2024-06-17 01:28:11 -04:00
2024-06-24 23:57:20 -04:00
level_bridge.o: level_bridge.s \
2024-06-17 01:28:11 -04:00
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk43_defines.inc \
2024-06-24 23:57:20 -04:00
leveldata_bridge.inc \
graphics_bridge/bridge_graphics.inc
ca65 -o level_bridge.o level_bridge.s -l level_bridge.lst
2024-06-17 01:28:11 -04:00
2024-06-25 01:33:10 -04:00
####
LEVEL_LOGGED: level_logged.o
ld65 -o LEVEL_LOGGED level_logged.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_logged.o: level_logged.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk43_defines.inc \
leveldata_logged.inc \
graphics_logged/logged_graphics.inc
ca65 -o level_logged.o level_logged.s -l level_logged.lst
####
LEVEL_LOGGED2: level_logged2.o
ld65 -o LEVEL_LOGGED2 level_logged2.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
level_logged2.o: level_logged2.s \
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc disk43_defines.inc \
leveldata_logged2.inc \
graphics_logged2/logged2_graphics.inc
ca65 -o level_logged2.o level_logged2.s -l level_logged2.lst
2024-06-17 01:28:11 -04:00
####
MOVIE_CART_RIDE: movie_cart_ride.o
ld65 -o MOVIE_CART_RIDE movie_cart_ride.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
2024-06-17 01:28:11 -04:00
movie_cart_ride.o: movie_cart_ride.s \
2024-06-17 01:28:11 -04:00
../zp.inc ../hardware.inc ../qload.inc \
../common_defines.inc ../flip_pages.s disk43_defines.inc \
movie_cart_ride/movie_cart_ride.inc \
../disk39_files/movie_maglev_ride/overlays/overlay_combined.zx02
ca65 -o movie_cart_ride.o movie_cart_ride.s -l movie_cart_ride.lst
2024-06-17 01:28:11 -04:00
####
graphics_cart/cart_graphics.inc:
cd graphics_cart && make
2024-06-24 23:57:20 -04:00
graphics_bridge/bridge_graphics.inc:
cd graphics_bridge && make
2024-06-17 01:28:11 -04:00
2024-06-25 01:33:10 -04:00
graphics_logged/logged_graphics.inc:
cd graphics_logged && make
graphics_logged2/logged2_graphics.inc:
cd graphics_logged2 && make
movie_cart_ride/movie_cart_ride.inc:
cd movie_cart_ride && make
2024-06-17 01:28:11 -04:00
####
clean:
rm -f *~ *.o *.lst \
2024-06-25 01:33:10 -04:00
LEVEL_CART LEVEL_BRIDGE LEVEL_LOGGED
2024-06-17 01:28:11 -04:00
####
distclean:
rm -f *~ *.o *.lst \
2024-06-25 01:33:10 -04:00
LEVEL_CART LEVEL_BRIDGE LEVEL_LOGGED
2024-06-17 01:28:11 -04:00
cd graphics_cart && make clean
2024-06-24 23:57:20 -04:00
cd graphics_bridge && make clean
2024-06-25 01:33:10 -04:00
cd graphics_logged && make clean
cd graphics_logged2 && make clean
2024-06-24 23:57:20 -04:00
2024-06-17 01:28:11 -04:00