dos33fsprogs/still_alive/Makefile

37 lines
943 B
Makefile
Raw Normal View History

2018-04-28 01:24:57 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
2018-05-22 16:14:29 +00:00
TOKENIZE = ../asoft_basic-utils/tokenize_asoft
2018-04-28 01:24:57 +00:00
all: still_alive.dsk
2018-04-28 01:24:57 +00:00
2018-05-24 21:01:42 +00:00
still_alive.dsk: STILL_ALIVE TITLE.BAS ENDING
2018-04-28 01:24:57 +00:00
$(DOS33) -y still_alive.dsk BSAVE -a 0x0C00 STILL_ALIVE
2018-05-24 21:01:42 +00:00
$(DOS33) -y still_alive.dsk BSAVE -a 0x4000 ENDING
2018-05-22 16:14:29 +00:00
$(DOS33) -y still_alive.dsk SAVE A TITLE.BAS
2018-04-28 01:24:57 +00:00
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 \
2018-05-23 18:07:19 +00:00
display_art.s display_lyrics.s \
2018-04-28 01:24:57 +00:00
interrupt_handler.s \
ascii_art.inc ascii_art_lz4.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-24 21:01:42 +00:00
ENDING: ending.o
ld65 -o ENDING ending.o -C ../linker_scripts/apple2_4000.inc
ending.o: ending.s \
GLADOS.HGR
ca65 -o ending.o ending.s -l ending.lst
2018-05-22 16:14:29 +00:00
TITLE.BAS: title.bas
$(TOKENIZE) < title.bas> TITLE.BAS
2018-04-28 01:24:57 +00:00
clean:
rm -f *~ *.o *.lst STILL_ALIVE