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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
2
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
3 vpath %.asm ../objs
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
4
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
6
2099
c0e39b3fc9e9 Updated
boisy
parents: 2095
diff changeset
7 DISK_1_80D = goldrush_d1_80d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2095
diff changeset
8 DISK_2_80D = goldrush_d2_80d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2095
diff changeset
9 DISK_3_80D = goldrush_d3_80d.dsk
2095
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
10
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
11 DISK_1_80D_NAME = "Gold Rush Disk 1"
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
12 DISK_2_80D_NAME = "Gold Rush Disk 2"
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
13 DISK_3_80D_NAME = "Gold Rush Disk 3"
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
14
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
15 CMDS = sierra mnln scrn shdw tocgen
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
16 MD = $(LEVEL2)/coco3/modules
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
17
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
18 # We make our own bootfile and kernel track
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
19 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
20 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
21 $(MD)/rbf.mn \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
22 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
23 $(MD)/scf.mn $(MD)/vtio.dr \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
24 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
25 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
26 $(MD)/vrn.dr $(MD)/vi.dd \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
27 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
28
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
29 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
30 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
31 $(LEVEL2)/coco3/cmds/setime
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
32
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
33 TEXTFILES_D1 = startup tOC_80d.txt
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
34 TEXTFILES = startup tOC_80d.txt
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
35
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
36 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
37 vol.1 vol.2 vol.9 vol.10 vol.11 vol.12 words.tok
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
38
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
39 SUPPORTFILES_D2 = object vol.0 vol.3 vol.9 vol.11
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
40
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
41 SUPPORTFILES_D3 = object vol.0 vol.4 vol.5 vol.9 vol.11 vol.12
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
42
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
43 ALLOBJS = $(CMDS)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
44
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
45 all: $(ALLOBJS)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
46
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
47 clean: dskclean
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
48 $(RM) $(ALLOBJS)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
49
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
50 dsk: all
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
51 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
52 $(CD) $(LEVEL2)/coco3; make
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
53 $(OS9FORMAT_DS80) -q $(DISK_1_80D) -n$(DISK_1_80D_NAME)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
54 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
55 $(MERGE) $(KERNEL)>kernel_1773
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
56 $(OS9GEN) $(DISK_1_80D) -b=os9boot_80d -t=kernel_1773
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
57 $(RM) os9boot_80d os9boot_80d kernel_1773
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
58 $(MAKDIR) $(DISK_1_80D),CMDS
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
59 $(CP) $(CMDS) $(DISK_1_80D),CMDS
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
60 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_80D),CMDS/$(file);)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
61 $(MERGE) $(BOOTCMDS)>shell
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
62 $(CP) shell $(DISK_1_80D),CMDS
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
63 $(RM) shell
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
64 $(OS9ATTR) $(DISK_1_80D),CMDS/shell -e -pe -pr -e -w -r
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
65 $(OS9RENAME) $(DISK_1_80D),CMDS/sierra AutoEx
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
66 $(CPL) $(TEXTFILES_D1) $(DISK_1_80D),.
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
67 $(OS9RENAME) $(DISK_1_80D),tOC_80d.txt tOC.txt
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
68 $(CP) $(SUPPORTFILES_D1) $(DISK_1_80D),.
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
69 tocgen $(DISK_1_80D),tOC.txt $(DISK_1_80D),tOC
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
70 $(OS9FORMAT_DS80) -q $(DISK_2_80D) -n$(DISK_2_80D_NAME)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
71 $(CP) $(SUPPORTFILES_D2) $(DISK_2_80D),.
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
72 $(OS9FORMAT_DS80) -q $(DISK_3_80D) -n$(DISK_3_80D_NAME)
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
73 $(CP) $(SUPPORTFILES_D3) $(DISK_3_80D),.
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
74
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
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
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
77
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
78 dskclean:
33521fabe01c Added Gold Rush
boisy
parents:
diff changeset
79 $(RM) $(DISK_1_80D) $(DISK_2_80D) $(DISK_3_80D)