annotate 3rdparty/packages/sierra/blackcauldron/makefile @ 2868:cfa46960b6bd

makefiles: Rename DW3 to DW all over Rename dw3*.sb to dwio*.sb This is part of getting default and lwtools-port branches together, trying to avoid things falling through the cracks.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 11:13:40 +0100 (2013-11-24)
parents 9b29d654db13
children cfa6222348f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
1 ifndef NITROS9DIR
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
2 NITROS9DIR = $(HOME)/nitros9
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
3 endif
2098
boisy
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
boisy
parents:
diff changeset
5
2137
9d2389b83c95 Updated to LSL engine
boisy
parents: 2123
diff changeset
6 vpath %.asm ../objs_lsl
2098
boisy
parents:
diff changeset
7
boisy
parents:
diff changeset
8 DEPENDS = ./makefile
boisy
parents:
diff changeset
9
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
10 DSK_1_40D = blackcauldron_d1_40d.dsk
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
11 DSK_2_40D = blackcauldron_d2_40d.dsk
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
12 DSK_80D = blackcauldron_80d.dsk
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
13 DSK_DW = blackcauldron_dw.dsk
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
14 DSK_DW_BECKER = blackcauldron_becker.dsk
2098
boisy
parents:
diff changeset
15
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
16 DSKS = $(DSK_1_40D) $(DSK_2_40D) $(DSK_80D) $(DSK_DW) $(DSK_DW_BECKER)
2216
d096a278e068 Added info targets
boisy
parents: 2207
diff changeset
17
2511
5a29eed1ca2d Updated
boisy
parents: 2494
diff changeset
18 DSK_1_40D_NAME = "The Black Cauldron Disk 1"
5a29eed1ca2d Updated
boisy
parents: 2494
diff changeset
19 DSK_2_40D_NAME = "The Black Cauldron Disk 2"
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
20 DSK_80D_NAME = "The Black Cauldron"
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
21 DSK_DW_NAME = $(DSK_80D_NAME)
2098
boisy
parents:
diff changeset
22
boisy
parents:
diff changeset
23 CMDS = sierra mnln scrn shdw tocgen
boisy
parents:
diff changeset
24 MD = $(LEVEL2)/coco3/modules
boisy
parents:
diff changeset
25
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
26 # We make our own bootfile and KERNEL_FLOPPY track
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
27 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
28 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
29 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
30 BOOTFILE_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2098
boisy
parents:
diff changeset
31 $(MD)/rbf.mn \
boisy
parents:
diff changeset
32 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
boisy
parents:
diff changeset
33 $(MD)/scf.mn $(MD)/vtio.dr \
boisy
parents:
diff changeset
34 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
boisy
parents:
diff changeset
35 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
boisy
parents:
diff changeset
36 $(MD)/vrn.dr $(MD)/vi.dd \
boisy
parents:
diff changeset
37 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
boisy
parents:
diff changeset
38
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
39 BOOTFILE_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
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: 2098
diff changeset
40 $(MD)/rbf.mn \
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: 2098
diff changeset
41 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
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: 2098
diff changeset
42 $(MD)/scf.mn $(MD)/vtio.dr \
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: 2098
diff changeset
43 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
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: 2098
diff changeset
44 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
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: 2098
diff changeset
45 $(MD)/vrn.dr $(MD)/vi.dd \
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: 2098
diff changeset
46 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
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: 2098
diff changeset
47
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
48 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
49 $(MD)/rbf.mn \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
50 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
51 $(MD)/scf.mn $(MD)/vtio.dr \
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
52 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
53 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
54 $(MD)/vrn.dr $(MD)/vi.dd \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
55 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
56
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
57 BOOTFILE_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
58 $(MD)/rbf.mn \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
59 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
60 $(MD)/scf.mn $(MD)/vtio.dr \
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
61 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
62 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
63 $(MD)/vrn.dr $(MD)/vi.dd \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
64 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
65
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
66
2098
boisy
parents:
diff changeset
67 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
boisy
parents:
diff changeset
68 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
boisy
parents:
diff changeset
69 $(LEVEL2)/coco3/cmds/setime
boisy
parents:
diff changeset
70
2515
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
71 TEXTFILES_D1 = ../startup tOC_40d.txt
0fe5a04e9d0c Updated
boisy
parents: 2511
diff changeset
72 TEXTFILES = ../startup tOC_40d.txt
2098
boisy
parents:
diff changeset
73
boisy
parents:
diff changeset
74 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
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: 2098
diff changeset
75 vol.1 words.tok
2098
boisy
parents:
diff changeset
76
boisy
parents:
diff changeset
77 SUPPORTFILES_D2 = object vol.0 vol.2
boisy
parents:
diff changeset
78
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: 2098
diff changeset
79 SUPPORTFILES = $(SUPPORTFILES_D1) $(SUPPORTFILES_D2)
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: 2098
diff changeset
80
2098
boisy
parents:
diff changeset
81 ALLOBJS = $(CMDS)
boisy
parents:
diff changeset
82
boisy
parents:
diff changeset
83 all: $(ALLOBJS)
boisy
parents:
diff changeset
84
boisy
parents:
diff changeset
85 clean: dskclean
boisy
parents:
diff changeset
86 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
87
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: 2098
diff changeset
88 dsk_40d: all
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
89 $(RM) $(DSK_1_40D) $(DSK_2_40D)
2098
boisy
parents:
diff changeset
90 $(CD) $(LEVEL2)/coco3; make
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
91 $(OS9FORMAT_DS40) -q $(DSK_1_40D) -n$(DSK_1_40D_NAME)
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
92 $(MERGE) $(BOOTFILE_40D)>os9boot
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
93 $(MERGE) $(KERNEL_FLOPPY)>kernel
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
94 $(OS9GEN) $(DSK_1_40D) -b=os9boot -t=kernel
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
95 $(RM) os9boot kernel
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
96 $(MAKDIR) $(DSK_1_40D),CMDS
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
97 $(CP) $(CMDS) $(DSK_1_40D),CMDS
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
98 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_1_40D),CMDS/$(file);)
2098
boisy
parents:
diff changeset
99 $(MERGE) $(BOOTCMDS)>shell
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
100 $(CP) shell $(DSK_1_40D),CMDS
2098
boisy
parents:
diff changeset
101 $(RM) shell
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
102 $(OS9ATTR) $(DSK_1_40D),CMDS/shell -e -pe -pr -e -w -r
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
103 $(OS9RENAME) $(DSK_1_40D),CMDS/sierra AutoEx
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
104 $(CPL) $(TEXTFILES_D1) $(DSK_1_40D),.
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
105 $(OS9RENAME) $(DSK_1_40D),tOC_40d.txt tOC.txt
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
106 $(CP) $(SUPPORTFILES_D1) $(DSK_1_40D),.
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
107 $(MOVE) tocgen toctmp
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
108 tocgen $(DSK_1_40D),tOC.txt $(DSK_1_40D),tOC
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
109 $(MOVE) toctmp tocgen
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
110 $(OS9FORMAT_DS40) -q $(DSK_2_40D) -n$(DSK_2_40D_NAME)
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
111 $(CP) $(SUPPORTFILES_D2) $(DSK_2_40D),.
2098
boisy
parents:
diff changeset
112
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: 2098
diff changeset
113 dsk_80d: all
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
114 $(RM) $(DSK_80D)
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: 2098
diff changeset
115 $(CD) $(LEVEL2)/coco3; make
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
116 $(OS9FORMAT_DS80) -q $(DSK_80D) -n$(DSK_80D_NAME)
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
117 $(MERGE) $(BOOTFILE_80D)>os9boot
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
118 $(MERGE) $(KERNEL_FLOPPY)>kernel
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
119 $(OS9GEN) $(DSK_80D) -b=os9boot -t=kernel
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
120 $(RM) os9boot kernel
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
121 $(MAKDIR) $(DSK_80D),CMDS
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
122 $(CP) $(CMDS) $(DSK_80D),CMDS
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
123 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_80D),CMDS/$(file);)
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: 2098
diff changeset
124 $(MERGE) $(BOOTCMDS)>shell
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
125 $(CP) shell $(DSK_80D),CMDS
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: 2098
diff changeset
126 $(RM) shell
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
127 $(OS9ATTR) $(DSK_80D),CMDS/shell -e -pe -pr -e -w -r
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
128 $(OS9RENAME) $(DSK_80D),CMDS/sierra AutoEx
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
129 $(CPL) $(TEXTFILES) $(DSK_80D),.
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
130 $(OS9RENAME) $(DSK_80D),tOC_40d.txt tOC.txt
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
131 $(CP) $(SUPPORTFILES) $(DSK_80D),.
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
132 $(MOVE) tocgen toctmp
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
133 tocgen $(DSK_80D),tOC.txt $(DSK_80D),tOC
2494
98e7cb7b3dda Prevents RS-232 bit at $FF20 from being toggled. RG
robertgault
parents: 2216
diff changeset
134 $(MOVE) toctmp tocgen
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: 2098
diff changeset
135
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
136 dsk_dw: all
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
137 $(RM) $(DSK_DW)
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
138 $(CD) $(LEVEL2)/coco3; make
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
139 $(OS9FORMAT_DW) -q $(DSK_DW) -n$(DSK_DW_NAME)
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
140 $(MERGE) $(BOOTFILE_DW)>os9boot
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
141 $(MERGE) $(KERNEL_DW)>kernel
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
142 $(OS9GEN) $(DSK_DW) -b=os9boot -t=kernel
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
143 $(RM) os9boot kernel
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
144 $(MAKDIR) $(DSK_DW),CMDS
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
145 $(CP) $(CMDS) $(DSK_DW),CMDS
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
146 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW),CMDS/$(file);)
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
147 $(MERGE) $(BOOTCMDS)>shell
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
148 $(CP) shell $(DSK_DW),CMDS
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
149 $(RM) shell
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
150 $(OS9ATTR) $(DSK_DW),CMDS/shell -e -pe -pr -e -w -r
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
151 $(OS9RENAME) $(DSK_DW),CMDS/sierra AutoEx
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
152 $(CPL) $(TEXTFILES) $(DSK_DW),.
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
153 $(OS9RENAME) $(DSK_DW),tOC_40d.txt tOC.txt
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
154 $(CP) $(SUPPORTFILES) $(DSK_DW),.
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2756
diff changeset
155 $(MOVE) tocgen toctmp
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
156 tocgen $(DSK_DW),tOC.txt $(DSK_DW),tOC
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2756
diff changeset
157 $(MOVE) toctmp tocgen
2207
568b30b074fc Added DW3
boisy
parents: 2137
diff changeset
158
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
159 dsk_dw_becker: all
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
160 $(RM) $(DSK_DW_BECKER)
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
161 $(CD) $(LEVEL2)/coco3; make
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
162 $(OS9FORMAT_DW) -q $(DSK_DW_BECKER) -n$(DSK_DW_NAME)
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
163 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
164 $(MERGE) $(KERNEL_DW_BECKER)>kernel
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
165 $(OS9GEN) $(DSK_DW_BECKER) -b=os9boot -t=kernel
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
166 $(RM) os9boot kernel
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
167 $(MAKDIR) $(DSK_DW_BECKER),CMDS
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
168 $(CP) $(CMDS) $(DSK_DW_BECKER),CMDS
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
169 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW_BECKER),CMDS/$(file);)
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
170 $(MERGE) $(BOOTCMDS)>shell
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
171 $(CP) shell $(DSK_DW_BECKER),CMDS
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
172 $(RM) shell
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
173 $(OS9ATTR) $(DSK_DW_BECKER),CMDS/shell -e -pe -pr -e -w -r
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
174 $(OS9RENAME) $(DSK_DW_BECKER),CMDS/sierra AutoEx
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
175 $(CPL) $(TEXTFILES) $(DSK_DW_BECKER),.
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
176 $(OS9RENAME) $(DSK_DW_BECKER),tOC_40d.txt tOC.txt
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
177 $(CP) $(SUPPORTFILES) $(DSK_DW_BECKER),.
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2756
diff changeset
178 $(MOVE) tocgen toctmp
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
179 tocgen $(DSK_DW_BECKER),tOC.txt $(DSK_DW_BECKER),tOC
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2756
diff changeset
180 $(MOVE) toctmp tocgen
2745
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
181
5ed3a13b3865 Updated blackcauldron and christmas86 makefile(s) to now also create the becker boot disks for use with drivewire4 server.
drencor-xeen
parents: 2515
diff changeset
182
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2762
diff changeset
183 dsk: dsk_40d dsk_80d dsk_dw dsk_dw_becker
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: 2098
diff changeset
184
2098
boisy
parents:
diff changeset
185 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2207
diff changeset
186 $(CP) $(DSKS) $(DSKDIR)
2098
boisy
parents:
diff changeset
187
boisy
parents:
diff changeset
188 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2207
diff changeset
189 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2207
diff changeset
190
d096a278e068 Added info targets
boisy
parents: 2207
diff changeset
191 info:
d096a278e068 Added info targets
boisy
parents: 2207
diff changeset
192 @$(ECHO) "*** The Black Cauldron ***"
d096a278e068 Added info targets
boisy
parents: 2207
diff changeset
193 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)