From b3532358b55af97983418e6edbf76029bc2e7162 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 7 Jan 2016 08:12:21 -0500 Subject: update readme, dike out unused sounds --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5b4639c..730ddc3 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,7 @@ HOSTCFLAGS=-Wall XEX=taipan.xex # All the C and asm sources for taimain.xex: +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 @@ -128,7 +129,7 @@ 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.xex: $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) $(TAIMAIN_HDRS) cl65 -m taipan.map $(CFLAGS) -o taimain.xex $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_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 @@ -139,6 +140,10 @@ taimain.xex: $(TAIMAIN_C_SRC) $(TAIMAIN_ASM_SRC) taipan.lst: taipan.c cl65 -m taipan.map $(CFLAGS) -c -o /dev/null -l taipan.lst -T taipan.c +# Another such rule for sounds.c: +sounds.lst: sounds.c sounds.h + cl65 -m sounds.map $(CFLAGS) -c -o /dev/null -l sounds.lst -T sounds.c + # The font gets loaded into RAM, in the area reserved by the # -D__RESERVED_MEMORY__ option to cl65. To actually use the font, # taimain.xex contains code that sets CHBAS ($02f4). -- cgit v1.2.3