Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/sierra/kingsquest3/makefile @ 2869:cfa6222348f7
makefiles: Separate OS9COPY and CP macros
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 11:18:28 +0100 |
parents | cfa46960b6bd |
children | 46c80d4b0de1 |
rev | line source |
---|---|
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
1 ifndef NITROS9DIR |
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
2 NITROS9DIR = $(HOME)/nitros9 |
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
3 endif |
2073 | 4 include $(NITROS9DIR)/rules.mak |
5 | |
2516 | 6 vpath %.asm ../objs_lsl |
816 | 7 |
1363 | 8 DEPENDS = ./makefile |
816 | 9 |
2099 | 10 DISK_1_40D = kingquest3_d1_40d.dsk |
11 DISK_2_40D = kingquest3_d2_40d.dsk | |
12 DISK_3_40D = kingquest3_d3_40d.dsk | |
13 DISK_80D = kingquest3_80d.dsk | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
14 DSK_DW = kingsquest3_dw.dsk |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
15 DSK_DW_BECKER = kingsquest3_becker.dsk |
2081 | 16 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
17 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D) $(DSK_DW) $(DSK_DW_BECKER) |
2216 | 18 |
2081 | 19 DISK_1_40D_NAME = "King's Quest III Disk 1" |
20 DISK_2_40D_NAME = "King's Quest III Disk 2" | |
21 DISK_3_40D_NAME = "King's Quest III Disk 3" | |
22 DISK_80D_NAME = "King's Quest III" | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
23 DSK_DW_NAME = "King's Quest III" |
2081 | 24 |
816 | 25 CMDS = sierra mnln scrn shdw tocgen |
2064 | 26 MD = $(LEVEL2)/coco3/modules |
816 | 27 |
28 # We make our own bootfile and kernel track | |
1638 | 29 KERNEL = $(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:
2756
diff
changeset
|
30 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:
2756
diff
changeset
|
31 KERNEL_DW_BECKER = $(MD)/rel_32 $(MD)/boot_dw_becker $(MD)/krn |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
32 |
1940 | 33 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
816 | 34 $(MD)/rbf.mn \ |
1638 | 35 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 36 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1169
diff
changeset
|
37 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 38 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
816 | 39 $(MD)/vrn.dr $(MD)/vi.dd \ |
1318 | 40 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
816 | 41 |
1940 | 42 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
43 $(MD)/rbf.mn \ | |
44 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \ | |
45 $(MD)/scf.mn $(MD)/vtio.dr \ | |
46 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
47 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
48 $(MD)/vrn.dr $(MD)/vi.dd \ | |
49 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd | |
50 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
51 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
52 $(MD)/rbf.mn \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
53 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \ |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
54 $(MD)/scf.mn $(MD)/vtio.dr \ |
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
55 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
56 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
57 $(MD)/vrn.dr $(MD)/vi.dd \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
58 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
59 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
60 BOOTFILE_DW_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
61 $(MD)/rbf.mn \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
62 $(MD)/rbdw.dr $(MD)/dwio_becker.sb $(MD)/ddx0.dd \ |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
63 $(MD)/scf.mn $(MD)/vtio.dr \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
64 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
65 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
66 $(MD)/vrn.dr $(MD)/vi.dd \ |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
67 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
68 |
2064 | 69 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ |
70 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
71 $(LEVEL2)/coco3/cmds/setime | |
818 | 72 |
2515 | 73 TEXTFILES_D1 = ../startup tOC_40d.txt |
74 TEXTFILES = ../startup tOC_80d.txt | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
75 TEXTFILES_DW = ../startup tOC_dw.txt |
897 | 76 |
2081 | 77 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \ |
897 | 78 vol.1 vol.2 vol.3 vol.4 vol.12 vol.14 words.tok |
816 | 79 |
2099 | 80 SUPPORTFILES_D2 = object vol.0 vol.5 vol.6 vol.7 vol.8 vol.11 vol.12 vol.14 |
816 | 81 |
2099 | 82 SUPPORTFILES_D3 = object vol.0 vol.5 vol.6 vol.7 vol.9 vol.11 vol.12 vol.14 |
816 | 83 |
2081 | 84 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \ |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
85 vol.1 vol.2 vol.3 vol.4 vol.5 vol.6 vol.7 vol.8 vol.9 \ |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
86 vol.11 vol.12 vol.14 words.tok |
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
87 |
816 | 88 ALLOBJS = $(CMDS) |
89 | |
90 all: $(ALLOBJS) | |
91 | |
92 clean: dskclean | |
93 $(RM) $(ALLOBJS) | |
94 | |
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
|
95 dsk_40d: all |
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
|
96 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) |
2064 | 97 $(CD) $(LEVEL2)/coco3; make |
2081 | 98 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME) |
1940 | 99 $(MERGE) $(OS9BOOT_40D)>os9boot_40d |
816 | 100 $(MERGE) $(KERNEL)>kernel_1773 |
1940 | 101 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773 |
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
|
102 $(RM) os9boot_40d kernel_1773 |
1940 | 103 $(MAKDIR) $(DISK_1_40D),CMDS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
104 $(OS9COPY) $(CMDS) $(DISK_1_40D),CMDS |
1940 | 105 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);) |
818 | 106 $(MERGE) $(BOOTCMDS)>shell |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
107 $(OS9COPY) shell $(DISK_1_40D),CMDS |
818 | 108 $(RM) shell |
1940 | 109 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r |
110 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx | |
111 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),. | |
1941
f408295c1f0a
tOC files now properly made for 40 and 80 track disks
boisy
parents:
1940
diff
changeset
|
112 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
113 $(OS9COPY) $(SUPPORTFILES_D1) $(DISK_1_40D),. |
2496
78636a6da2b3
Permits DW3 build to work. This requires obj code not obj_lsl. RG
robertgault
parents:
2492
diff
changeset
|
114 $(MOVE) tocgen toctmp |
2081 | 115 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC |
2496
78636a6da2b3
Permits DW3 build to work. This requires obj code not obj_lsl. RG
robertgault
parents:
2492
diff
changeset
|
116 $(MOVE) toctmp tocgen |
2081 | 117 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
118 $(OS9COPY) $(SUPPORTFILES_D2) $(DISK_2_40D),. |
2081 | 119 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME) |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
120 $(OS9COPY) $(SUPPORTFILES_D3) $(DISK_3_40D),. |
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
|
121 |
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
|
122 dsk_80d: all |
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
|
123 $(RM) $(DISK_80D) |
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
|
124 $(CD) $(LEVEL2)/coco3; make |
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
|
125 $(OS9FORMAT_DS80) -q $(DISK_80D) -n$(DISK_80D_NAME) |
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
|
126 $(MERGE) $(OS9BOOT_80D)>os9boot_80d |
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
|
127 $(MERGE) $(KERNEL)>kernel_1773 |
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
|
128 $(OS9GEN) $(DISK_80D) -b=os9boot_80d -t=kernel_1773 |
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
|
129 $(RM) os9boot_80d kernel_1773 |
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
|
130 $(MAKDIR) $(DISK_80D),CMDS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
131 $(OS9COPY) $(CMDS) $(DISK_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:
2099
diff
changeset
|
132 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_80D),CMDS/$(file);) |
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
|
133 $(MERGE) $(BOOTCMDS)>shell |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
134 $(OS9COPY) shell $(DISK_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:
2099
diff
changeset
|
135 $(RM) shell |
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
|
136 $(OS9ATTR) $(DISK_80D),CMDS/shell -e -pe -pr -e -w -r |
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
|
137 $(OS9RENAME) $(DISK_80D),CMDS/sierra AutoEx |
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
|
138 $(CPL) $(TEXTFILES) $(DISK_80D),. |
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
|
139 $(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
140 $(OS9COPY) $(SUPPORTFILES) $(DISK_80D),. |
2496
78636a6da2b3
Permits DW3 build to work. This requires obj code not obj_lsl. RG
robertgault
parents:
2492
diff
changeset
|
141 $(MOVE) tocgen toctmp |
2081 | 142 tocgen $(DISK_80D),tOC.txt $(DISK_80D),tOC |
2496
78636a6da2b3
Permits DW3 build to work. This requires obj code not obj_lsl. RG
robertgault
parents:
2492
diff
changeset
|
143 $(MOVE) toctmp tocgen |
816 | 144 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
145 dsk_dw: all |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
146 $(RM) $(DSK_DW) |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
147 $(CD) $(LEVEL2)/coco3; make |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
148 $(OS9FORMAT_DW) -q $(DSK_DW) -n$(DSK_DW_NAME) |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
149 $(MERGE) $(BOOTFILE_DW)>os9boot_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
150 $(MERGE) $(KERNEL_DW)>kernel_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
151 $(OS9GEN) $(DSK_DW) -b=os9boot_dw -t=kernel_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
152 $(RM) os9boot_dw kernel_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
153 $(MAKDIR) $(DSK_DW),CMDS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
154 $(OS9COPY) $(CMDS) $(DSK_DW),CMDS |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
155 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW),CMDS/$(file);) |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
156 $(MERGE) $(BOOTCMDS)>shell |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
157 $(OS9COPY) shell $(DSK_DW),CMDS |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
158 $(RM) shell |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
159 $(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:
2756
diff
changeset
|
160 $(OS9RENAME) $(DSK_DW),CMDS/sierra AutoEx |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
161 $(CPL) $(TEXTFILES_DW) $(DSK_DW),. |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
162 $(OS9RENAME) $(DSK_DW),tOC_dw.txt tOC.txt |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
163 $(OS9COPY) $(SUPPORTFILES) $(DSK_DW),. |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
164 $(MOVE) tocgen toctmp |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
165 tocgen $(DSK_DW),tOC.txt $(DSK_DW),tOC |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
166 $(MOVE) toctmp tocgen |
2492
f8888442a156
Makefile incorrectly used obj_lsl. Changed to obj directory. RG
robertgault
parents:
2216
diff
changeset
|
167 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
168 dsk_dw_becker: all |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
169 $(RM) $(DSK_DW_BECKER) |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
170 $(CD) $(LEVEL2)/coco3; make |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
171 $(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:
2756
diff
changeset
|
172 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
173 $(MERGE) $(KERNEL_DW_BECKER)>kernel_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
174 $(OS9GEN) $(DSK_DW_BECKER) -b=os9boot_dw -t=kernel_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
175 $(RM) os9boot_dw kernel_dw |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
176 $(MAKDIR) $(DSK_DW_BECKER),CMDS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
177 $(OS9COPY) $(CMDS) $(DSK_DW_BECKER),CMDS |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
178 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW_BECKER),CMDS/$(file);) |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
179 $(MERGE) $(BOOTCMDS)>shell |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
180 $(OS9COPY) shell $(DSK_DW_BECKER),CMDS |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
181 $(RM) shell |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
182 $(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:
2756
diff
changeset
|
183 $(OS9RENAME) $(DSK_DW_BECKER),CMDS/sierra AutoEx |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
184 $(CPL) $(TEXTFILES_DW) $(DSK_DW_BECKER),. |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
185 $(OS9RENAME) $(DSK_DW_BECKER),tOC_dw.txt tOC.txt |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
186 $(OS9COPY) $(SUPPORTFILES) $(DSK_DW_BECKER),. |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
187 $(MOVE) tocgen toctmp |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
188 tocgen $(DSK_DW_BECKER),tOC.txt $(DSK_DW_BECKER),tOC |
2747
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
189 $(MOVE) toctmp tocgen |
7aa39bea428b
Fixed the tOC_80d.txt file related to manhunter1.
drencor-xeen
parents:
2516
diff
changeset
|
190 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2756
diff
changeset
|
191 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:
2099
diff
changeset
|
192 |
1121 | 193 dskcopy: dsk |
2216 | 194 $(CP) $(DSKS) $(DSKDIR) |
1121 | 195 |
816 | 196 dskclean: |
2216 | 197 $(RM) $(DSKS) |
198 | |
199 info: | |
200 @$(ECHO) "*** King's Quest III ***" | |
201 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |