Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/leisuresuitlarry/makefile @ 2086:82113c6e5aa8
Updated to use tocgen
author | boisy |
---|---|
date | Fri, 21 Jul 2006 16:57:45 +0000 |
parents | eb13221efaed |
children | c0e39b3fc9e9 |
rev | line source |
---|---|
2075 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 vpath %.asm ../objs_lsl | |
777 | 4 |
1363 | 5 DEPENDS = ./makefile |
777 | 6 |
7 DISK = lsl.dsk | |
2086 | 8 DISK_NAME = "Leisure Suit Larry" |
9 | |
777 | 10 CMDS = sierra mnln scrn shdw |
2064 | 11 MD = $(LEVEL2)/coco3/modules |
777 | 12 |
13 # We make our own bootfile and kernel track | |
1638 | 14 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
15 OS9BOOT = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
777 | 16 $(MD)/rbf.mn \ |
1638 | 17 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 18 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
19 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 20 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
777 | 21 $(MD)/vrn.dr $(MD)/vi.dd \ |
1318 | 22 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
777 | 23 |
2086 | 24 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
777 | 25 vol.1 vol.2 vol.3 vol.4 words.tok |
26 | |
27 ALLOBJS = $(CMDS) | |
28 | |
29 all: $(ALLOBJS) | |
30 | |
31 clean: dskclean | |
32 $(RM) $(ALLOBJS) | |
33 | |
34 dsk: all | |
35 $(RM) $(DISK) | |
2064 | 36 $(CD) $(LEVEL2)/coco3; make |
2086 | 37 $(OS9FORMAT_DS40) $(DISK) -n$(DISK_NAME) |
777 | 38 $(MERGE) $(OS9BOOT)>os9boot |
39 $(MERGE) $(KERNEL)>kernel_1773 | |
1036 | 40 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 |
777 | 41 $(RM) os9boot kernel_1773 |
42 $(MAKDIR) $(DISK),CMDS | |
43 $(CP) $(CMDS) $(DISK),CMDS | |
1126 | 44 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
777 | 45 $(OS9RENAME) $(DISK),CMDS/sierra AutoEx |
46 $(CP) $(SUPPORTFILES) $(DISK),. | |
2086 | 47 tocgen tOC.txt $(DISK),tOC |
1126 | 48 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $(DISK),$(file);) |
777 | 49 |
1121 | 50 dskcopy: dsk |
51 $(CP) $(DISK) $(DSKDIR) | |
52 | |
777 | 53 dskclean: |
54 $(RM) $(DISK) |