From 9dbe0b40cfda998339fcc1e57b6aafe2cf5bc689 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 14 Jan 2016 16:00:05 -0500 Subject: read from correct byte of RTCLOK in rand.s --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e1a9c8d..dd73d76 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,12 @@ TAIMAIN_HDRS=sounds.h TAIMAIN_C_SRC=taipan.c sounds.c TAIMAIN_ASM_SRC=rand.s draw_lorcha.s timed_getch.s jsleep.s portstat.s clrtobot.s ultostr.s +# Comment these lines out to build without big number support. +# This will stop being possible at some point. +BIGNUM_SRC=bignum.s +BIGNUM_HDRS=bignum.h +BIGNUM_CFLAGS=-DBIGNUM + # Default rule for plain 'make' command is to build the binary. all: $(XEX) @@ -153,8 +159,8 @@ help.dat: help.txt text2screen.pl # The main executable. All the C and asm code goes here, except the init # segment in newtitle.s. -taimain.xex: $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(TAIMAIN_HDRS) - cl65 -m taipan.map $(CFLAGS) -o taimain.xex $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) +taimain.xex: $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(TAIMAIN_HDRS) $(BIGNUM_SRC) $(BIGNUM_HDRS) + cl65 -m taipan.map $(CFLAGS) $(BIGNUM_CFLAGS) -o taimain.xex $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(BIGNUM_SRC) #cl65 --mapfile taipan.map $(CFLAGS) -o taimain.xex taipan.c sounds.c rand.s draw_lorcha.s timed_getch.s jsleep.s portstat.s clrtobot.s -- cgit v1.2.3