dos33fsprogs/still_alive/Makefile

65 lines
1.6 KiB
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
still_alive.dsk: SA_COMPRESSED STILL_ALIVE TITLE.BAS ENDING
$(DOS33) -y still_alive.dsk BSAVE -a 0x5900 SA_COMPRESSED
$(DOS33) -y still_alive.dsk BSAVE -a 0x0800 STILL_ALIVE
2018-06-05 04:23:14 +00:00
$(DOS33) -y still_alive.dsk BSAVE -a 0x1800 ENDING
2018-05-22 16:14:29 +00:00
$(DOS33) -y still_alive.dsk SAVE A TITLE.BAS
2018-06-01 04:46:54 +00:00
# $(DOS33) -y still_alive.dsk SAVE B GLADOS.HGR
2018-04-28 01:24:57 +00:00
SA_COMPRESSED: sa_compressed.o
ld65 -o SA_COMPRESSED sa_compressed.o -C ../linker_scripts/apple2_5900.inc
sa_compressed.o: sa_compressed.s \
STILL_ALIVE.lz4 ENDING.lz4 SA.ED.lz4 SA.KR4.lz4
ca65 -o sa_compressed.o sa_compressed.s -l sa_compressed.lst
SA.ED.lz4: SA.ED
lz4 -f -16 SA.ED
truncate --size=-8 SA.ED.lz4
SA.KR4.lz4: SA.KR4
lz4 -f -16 SA.KR4
truncate --size=-8 SA.KR4.lz4
STILL_ALIVE.lz4: STILL_ALIVE
lz4 -f -16 STILL_ALIVE
truncate --size=-8 STILL_ALIVE.lz4
ENDING.lz4: ENDING
lz4 -f -16 ENDING
truncate --size=-8 ENDING.lz4
2018-04-28 01:24:57 +00:00
STILL_ALIVE: still_alive.o
ld65 -o STILL_ALIVE still_alive.o -C ../linker_scripts/apple2_800.inc
2018-04-28 01:24:57 +00:00
still_alive.o: still_alive.s \
mockingboard_a.s lz4_decode.s \
2018-05-23 18:07:19 +00:00
display_art.s display_lyrics.s \
sa_ed.s duet.s \
2018-06-04 19:26:03 +00:00
sa_mb.s ascii_art.inc \
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
2018-06-05 04:23:14 +00:00
ld65 -o ENDING ending.o -C ../linker_scripts/apple2_1800.inc
2018-05-24 21:01:42 +00:00
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 *.lz4 *.lst STILL_ALIVE SA_ED ENDING SA_COMPRESSED
cd art && make clean