aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-06 19:31:41 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-06 19:31:41 -0500
commite6ad2ef0c8083c603d014d4b37addb9b1bf98294 (patch)
tree5eda6b152383ce086b2d7dc470a17f18729412d2 /Makefile
parent7ac76fb4e4117887f6fd80ca7d6659be88209313 (diff)
downloadtaipan-e6ad2ef0c8083c603d014d4b37addb9b1bf98294.tar.gz
change bg/text colors in title screen, plus Esc for help
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7873ad9..f83b13e 100644
--- a/Makefile
+++ b/Makefile
@@ -108,11 +108,17 @@ comptitle.xex: titledata.xex titlecomp.pl comptitle.s.in
# since it's a lot easier to homebrew an init segment than it is
# to get cc65 to build an init segment (would need a custom linker
# script at least).
-newtitle.xex: newtitle.s ver.dat
+newtitle.xex: newtitle.s ver.dat help.dat
cl65 -l newtitle.lst -m newtitle.map -o newtitle.xex -t none newtitle.s
-ver.dat: mkver.pl
- perl mkver.pl $(VERSION) > ver.dat
+ver.dat: text2screen.pl
+ echo "$(VERSION)" | perl text2screen.pl > ver.dat
+
+help.dat: help.txt text2screen.pl
+ perl text2screen.pl < help.txt > help.dat
+
+#ver.dat: mkver.pl
+# perl mkver.pl $(VERSION) > ver.dat
# The main executable. All the C and asm code goes here, except the init
# segment in newtitle.s.
@@ -170,7 +176,7 @@ convfont: convfont.c
# Obligatory clean and distclean rules.
clean:
- rm -f *.o *.lst convfont *.xex AUTORUN.SYS taipan.atr ver.dat
+ rm -f *.o *.lst convfont *.xex AUTORUN.SYS taipan.atr ver.dat help.dat
distclean: clean
rm -f *~ core .*.swp 1.* 2.* 1 2 3 map map.* *.map a b c foo bar baz comptitle.s comptitle.dat