Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/goldrush/makefile @ 2123:82081ff99be5
Redid makefiles, separating 40 and 80 track disk images. Also added 80 track disk images to some games that didn't have one.
author | boisy |
---|---|
date | Tue, 28 Aug 2007 19:42:00 +0000 |
parents | c0e39b3fc9e9 |
children | 8b8f3ef42198 |
rev | line source |
---|---|
2095 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 vpath %.asm ../objs | |
4 | |
5 DEPENDS = ./makefile | |
6 | |
2099 | 7 DISK_1_80D = goldrush_d1_80d.dsk |
8 DISK_2_80D = goldrush_d2_80d.dsk | |
9 DISK_3_80D = goldrush_d3_80d.dsk | |
2095 | 10 |
11 DISK_1_80D_NAME = "Gold Rush Disk 1" | |
12 DISK_2_80D_NAME = "Gold Rush Disk 2" | |
13 DISK_3_80D_NAME = "Gold Rush Disk 3" | |
14 | |
15 CMDS = sierra mnln scrn shdw tocgen | |
16 MD = $(LEVEL2)/coco3/modules | |
17 | |
18 # We make our own bootfile and kernel track | |
19 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn | |
20 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
21 $(MD)/rbf.mn \ | |
22 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \ | |
23 $(MD)/scf.mn $(MD)/vtio.dr \ | |
24 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
25 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
26 $(MD)/vrn.dr $(MD)/vi.dd \ | |
27 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd | |
28 | |
29 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ | |
30 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
31 $(LEVEL2)/coco3/cmds/setime | |
32 | |
33 TEXTFILES_D1 = startup tOC_80d.txt | |
34 TEXTFILES = startup tOC_80d.txt | |
35 | |
36 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \ | |
37 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok | |
38 | |
39 SUPPORTFILES_D2 = object vol.0 vol.3 vol.9 vol.11 | |
40 | |
41 SUPPORTFILES_D3 = object vol.0 vol.4 vol.5 vol.9 vol.11 vol.12 | |
42 | |
43 ALLOBJS = $(CMDS) | |
44 | |
45 all: $(ALLOBJS) | |
46 | |
47 clean: dskclean | |
48 $(RM) $(ALLOBJS) | |
49 | |
50 dsk: all | |
51 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) | |
52 $(CD) $(LEVEL2)/coco3; make | |
53 $(OS9FORMAT_DS80) -q $(DISK_1_80D) -n$(DISK_1_80D_NAME) | |
54 $(MERGE) $(OS9BOOT_80D)>os9boot_80d | |
55 $(MERGE) $(KERNEL)>kernel_1773 | |
56 $(OS9GEN) $(DISK_1_80D) -b=os9boot_80d -t=kernel_1773 | |
57 $(RM) os9boot_80d os9boot_80d kernel_1773 | |
58 $(MAKDIR) $(DISK_1_80D),CMDS | |
59 $(CP) $(CMDS) $(DISK_1_80D),CMDS | |
60 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_80D),CMDS/$(file);) | |
61 $(MERGE) $(BOOTCMDS)>shell | |
62 $(CP) shell $(DISK_1_80D),CMDS | |
63 $(RM) shell | |
64 $(OS9ATTR) $(DISK_1_80D),CMDS/shell -e -pe -pr -e -w -r | |
65 $(OS9RENAME) $(DISK_1_80D),CMDS/sierra AutoEx | |
66 $(CPL) $(TEXTFILES_D1) $(DISK_1_80D),. | |
67 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt | |
68 $(CP) $(SUPPORTFILES_D1) $(DISK_1_80D),. | |
69 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC | |
70 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME) | |
71 $(CP) $(SUPPORTFILES_D2) $(DISK_2_80D),. | |
72 $(OS9FORMAT_DS80) -q $(DISK_3_80D) -n$(DISK_3_80D_NAME) | |
73 $(CP) $(SUPPORTFILES_D3) $(DISK_3_80D),. | |
74 | |
75 dskcopy: dsk | |
2123
82081ff99be5
Redid makefiles, separating 40 and 80 track disk images. Also added 80 track disk images to some games that didn't have one.
boisy
parents:
2099
diff
changeset
|
76 $(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_80D) $(DSKDIR) |
2095 | 77 |
78 dskclean: | |
79 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D) |