changeset 2086:82113c6e5aa8

Updated to use tocgen
author boisy
date Fri, 21 Jul 2006 16:57:45 +0000
parents 5b4802bc4a61
children 92a292bd81e8
files 3rdparty/packages/sierra/leisuresuitlarry/makefile
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/sierra/leisuresuitlarry/makefile	Fri Jul 21 16:51:51 2006 +0000
+++ b/3rdparty/packages/sierra/leisuresuitlarry/makefile	Fri Jul 21 16:57:45 2006 +0000
@@ -5,6 +5,8 @@
 DEPENDS		= ./makefile
 
 DISK		= lsl.dsk
+DISK_NAME	= "Leisure Suit Larry"
+
 CMDS		= sierra mnln scrn shdw
 MD		= $(LEVEL2)/coco3/modules
 
@@ -19,7 +21,7 @@
 		$(MD)/vrn.dr $(MD)/vi.dd \
 		$(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
 
-SUPPORTFILES	= logDir object picDir sndDir tOC viewDir vol.0 \
+SUPPORTFILES	= logDir object picDir sndDir viewDir vol.0 \
 		vol.1 vol.2 vol.3 vol.4 words.tok
 
 ALLOBJS		= $(CMDS)
@@ -32,7 +34,7 @@
 dsk:	all
 	$(RM) $(DISK)
 	$(CD) $(LEVEL2)/coco3; make
-	$(OS9FORMAT_DS40) $(DISK) -n"Leisure Suit Larry"
+	$(OS9FORMAT_DS40) $(DISK) -n$(DISK_NAME)
 	$(MERGE) $(OS9BOOT)>os9boot
 	$(MERGE) $(KERNEL)>kernel_1773
 	$(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773
@@ -42,6 +44,7 @@
 	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);)
 	$(OS9RENAME) $(DISK),CMDS/sierra AutoEx
 	$(CP) $(SUPPORTFILES) $(DISK),.
+	tocgen tOC.txt $(DISK),tOC
 	$(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $(DISK),$(file);)
 
 dskcopy: dsk