2018-04-28 01:24:57 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
|
|
|
2018-05-21 18:09:21 +00:00
|
|
|
all: still_alive.dsk lyrics_to_asm
|
2018-04-28 01:24:57 +00:00
|
|
|
|
|
|
|
still_alive.dsk: STILL_ALIVE ./SA.KRW
|
|
|
|
$(DOS33) -y still_alive.dsk BSAVE -a 0x0C00 STILL_ALIVE
|
|
|
|
$(DOS33) -y still_alive.dsk SAVE B ./SA.KRW
|
|
|
|
|
|
|
|
STILL_ALIVE: still_alive.o
|
|
|
|
ld65 -o STILL_ALIVE still_alive.o -C ../linker_scripts/apple2_c00.inc
|
|
|
|
|
|
|
|
still_alive.o: still_alive.s \
|
|
|
|
../asm_routines/mockingboard.s \
|
|
|
|
../asm_routines/lz4_decode.s \
|
|
|
|
../asm_routines/keypress_minimal.s \
|
|
|
|
interrupt_handler.s \
|
2018-05-21 18:32:12 +00:00
|
|
|
ascii_art.inc lyrics.inc zp.inc
|
2018-04-28 01:24:57 +00:00
|
|
|
ca65 -o still_alive.o still_alive.s -l still_alive.lst
|
|
|
|
|
2018-05-21 18:09:21 +00:00
|
|
|
lyrics_to_asm: lyrics_to_asm.c
|
|
|
|
gcc -O2 -Wall -o lyrics_to_asm lyrics_to_asm.c
|
|
|
|
|
2018-04-28 01:24:57 +00:00
|
|
|
clean:
|
2018-05-21 18:09:21 +00:00
|
|
|
rm -f *~ *.o *.lst STILL_ALIVE lyrics_to_asm
|