aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-02-21 18:53:49 -0500
committerB. Watson <yalhcru@gmail.com>2016-02-21 18:53:49 -0500
commita4a884600888e5e2e6b5231c2840c01b44eae644 (patch)
treebd7b2ce9c4208c7e7674312968d0a7f61456f1dd /Makefile
parent6f5bc5adbc21865093ff24af6dbf0c24ea4cfe9c (diff)
downloadtaipan-a4a884600888e5e2e6b5231c2840c01b44eae644.tar.gz
text compression. 7017 bytes free.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a1e84b..27ffb7e 100644
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,7 @@ XEX=taipan.xex
# All the C and asm sources for taimain.xex:
TAIMAIN_HDRS=sounds.h
TAIMAIN_C_SRC=taipan.c strtonum.c
-TAIMAIN_ASM_SRC=rand.s draw_lorcha.s timed_getch.s portstat.s console.s ultostr.s soundasm.s explosion.s
+TAIMAIN_ASM_SRC=rand.s draw_lorcha.s timed_getch.s portstat.s console.s ultostr.s soundasm.s explosion.s textdecomp.s
TAIMAIN_LIBS=conio/conio.lib
# Comment these lines out to build without big number support.
@@ -292,6 +292,13 @@ PORTSTAT.DAT: mkportstats.xex
convfont: convfont.c
$(HOSTCC) $(HOSTCFLAGS) -DFONT_ADDR=$(FONT_ADDR) -o convfont convfont.c
+# text compressor
+textcomp: textcomp.c
+ $(HOSTCC) $(HOSTCFLAGS) -o textcomp textcomp.c
+
+# messages.c is a generated file
+messages.c: messages.pl textcomp
+ perl messages.pl > messages.c
### Cartridge-related targets. The way I'm doing this isn't 'proper': I should
# be using cc65's linker with a fancy config script to do the bank layout