mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-03 18:29:53 +00:00
106 lines
2.8 KiB
Makefile
106 lines
2.8 KiB
Makefile
include ../../../Makefile.inc
|
|
|
|
LINKER_SCRIPTS = ../../../linker_scripts/
|
|
|
|
|
|
all: LEVEL_MAGLEV
|
|
|
|
####
|
|
|
|
LEVEL_MAGLEV: level_maglev.o
|
|
ld65 -o LEVEL_MAGLEV level_maglev.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_maglev.o: level_maglev.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk40_defines.inc \
|
|
leveldata_maglev.inc \
|
|
graphics_maglev/maglev_graphics.inc
|
|
ca65 -o level_maglev.o level_maglev.s -l level_maglev.lst
|
|
|
|
####
|
|
|
|
LEVEL_PROJECTOR: level_projector.o
|
|
ld65 -o LEVEL_PROJECTOR level_projector.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_projector.o: level_projector.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk40_defines.inc \
|
|
leveldata_projector.inc \
|
|
graphics_projector/projector_graphics.inc
|
|
ca65 -o level_projector.o level_projector.s -l level_projector.lst
|
|
|
|
####
|
|
|
|
LEVEL_MAGSTEPS: level_magsteps.o
|
|
ld65 -o LEVEL_MAGSTEPS level_magsteps.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
level_magsteps.o: level_magsteps.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk40_defines.inc \
|
|
leveldata_magsteps.inc \
|
|
graphics_magsteps/magsteps_graphics.inc
|
|
ca65 -o level_magsteps.o level_magsteps.s -l level_magsteps.lst
|
|
|
|
####
|
|
|
|
MOVIE_MAGLEV_FLIP: movie_maglev_flip.o
|
|
ld65 -o MOVIE_MAGLEV_FLIP movie_maglev_flip.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
movie_maglev_flip.o: movie_maglev_flip.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk40_defines.inc \
|
|
movie_maglev_flip/movie_maglev_flip.inc
|
|
ca65 -o movie_maglev_flip.o movie_maglev_flip.s -l movie_maglev_flip.lst
|
|
|
|
####
|
|
|
|
MOVIE_MAGLEV_RIDE: movie_maglev_ride.o
|
|
ld65 -o MOVIE_MAGLEV_RIDE movie_maglev_ride.o -C $(LINKER_SCRIPTS)/apple2_4000.inc
|
|
|
|
movie_maglev_ride.o: movie_maglev_ride.s \
|
|
../zp.inc ../hardware.inc ../qload.inc \
|
|
../common_defines.inc disk40_defines.inc \
|
|
end_message/end_message.gr.zx02 \
|
|
movie_maglev_ride/movie_maglev_ride.inc
|
|
ca65 -o movie_maglev_ride.o movie_maglev_ride.s -l movie_maglev_ride.lst
|
|
|
|
|
|
|
|
####
|
|
|
|
graphics_maglev/maglev_graphics.inc:
|
|
cd graphics_maglev && make
|
|
|
|
graphics_magsteps/magsteps_graphics.inc:
|
|
cd graphics_magsteps && make
|
|
|
|
graphics_projector/projector_graphics.inc:
|
|
cd graphics_projector && make
|
|
|
|
movie_maglev_flip/movie_maglev_flip.inc:
|
|
cd movie_maglev_flip && make
|
|
|
|
movie_maglev_ride/movie_maglev_ride.inc:
|
|
cd movie_maglev_ride && make
|
|
|
|
####
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst \
|
|
LEVEL_PROJECTOR LEVEL_MAGSTEPS LEVEL_MAGLEV LEVEL_MAGLEV \
|
|
MOVIE_MAGLEV_FLIP MOVIE_MAGLEV_RIDE
|
|
|
|
####
|
|
|
|
distclean:
|
|
rm -f *~ *.o *.lst \
|
|
LEVEL_PROJECTOR LEVEL_MAGSTEPS LEVEL_MAGLEV LEVEL_MAGLEV \
|
|
MOVIE_MAGLEV_FLIP MOVIE_MAGLEV_RIDE
|
|
cd graphics_maglev && make clean
|
|
# cd graphics_projector && make clean
|
|
# cd graphics_magsteps && make clean
|
|
# cd graphics_maglev && make clean
|
|
# cd movie_maglev_flip && make clean
|
|
# cd movie_maglev_ride && make clean
|
|
|