2019-01-09 14:20:30 +00:00
|
|
|
APPLE2_CL := $(CC65_HOME)/bin/cl65
|
2020-01-15 22:56:47 +00:00
|
|
|
APPLE2_SRC := src/main.asm src/math.asm src/memory.asm src/random.asm \
|
2021-04-14 21:26:21 +00:00
|
|
|
src/game_loop.asm src/display.asm src/tiles.asm src/player.asm \
|
|
|
|
src/world/world.asm src/world/level.asm \
|
2022-11-21 10:54:23 +00:00
|
|
|
src/builder/builder.asm src/builder/rooms.asm src/builder/maze.asm src/builder/unite.asm \
|
|
|
|
src/actors/reactions.asm src/actors/actors.asm \
|
2020-10-14 20:53:44 +00:00
|
|
|
src/debug.asm src/display_map.asm \
|
2022-11-21 10:54:23 +00:00
|
|
|
src/io/title.asm src/io/textio.asm src/io/gr.asm src/io/files.asm
|
2019-01-09 14:20:30 +00:00
|
|
|
APPLE2_MAP := escape.map
|
|
|
|
APPLE2_CFLAGS := -Oirs -v -t apple2 -vm --cpu 6502
|
2022-11-21 10:54:23 +00:00
|
|
|
APPLE2_OUT := floppy/ESCAPE
|
2019-01-09 14:20:30 +00:00
|
|
|
|
2022-11-21 10:54:23 +00:00
|
|
|
all: apple2
|
2019-01-09 14:20:30 +00:00
|
|
|
|
|
|
|
apple2: $(APPLE2_SRC)
|
|
|
|
$(APPLE2_CL) -m $(APPLE2_MAP) -o $(APPLE2_OUT) $? $(APPLE2_CFLAGS) -C src/escape.cfg
|
|
|
|
|
|
|
|
clean: $(SRC)
|
2022-11-21 10:54:23 +00:00
|
|
|
rm -f $(APPLE2_MAP) floppy/ESCAPE src/*.o src/builder/*.o src/io/*.o src/world/*.o src/actors/*.o gmon.out
|
|
|
|
|
|
|
|
install: apple2
|
|
|
|
./scripts/add-to-disk.sh $(APPLE_COMMANDER) ./floppy escape.dsk
|
|
|
|
|