dos33fsprogs/games/ootw/ootw_c6/Makefile
2021-04-19 11:54:27 -04:00

52 lines
947 B
Makefile

include ../../../Makefile.inc
COMMON = ..
LINKER_SCRIPTS = ../../../linker_scripts
SPRITES = ../sprites
all: OOTW_C6
####
OOTW_C6: ootw_c6.o
ld65 -o OOTW_C6 ootw_c6.o -C $(LINKER_SCRIPTS)/apple2_1800.inc
ootw_c6.o: ootw_c6.s \
$(COMMON)/gr_copy.s \
$(COMMON)/gr_copy_offset.s \
$(COMMON)/gr_fast_clear.s \
$(COMMON)/gr_pageflip.s \
$(COMMON)/gr_unrle.s \
$(COMMON)/gr_putsprite.s \
$(COMMON)/gr_putsprite_flipped.s \
$(COMMON)/gr_putsprite_crop.s \
$(COMMON)/keyboard.s \
$(COMMON)/gr_run_sequence.s \
$(COMMON)/physicist.s \
$(COMMON)/collision.s \
$(COMMON)/door.s \
$(COMMON)/laser.s \
$(COMMON)/gun.s \
$(COMMON)/blast.s \
$(COMMON)/shield.s \
$(SPRITES)/physicist.inc \
graphics/l6_cave/ootw_c6_cave.inc
ca65 -o ootw_c6.o ootw_c6.s -l ootw_c6.lst
#####
graphics/l6_cave/ootw_c6_cave.inc:
cd graphics && make
#####
clean:
rm -f *~ *.o *.lst OOTW_C6
#####
distclean:
make clean
cd graphics && make clean