annotate 3rdparty/packages/sierra/spacequest2/makefile @ 2216:d096a278e068

Added info targets
author boisy
date Tue, 17 Mar 2009 02:52:57 +0000
parents 9b93f639a2e1
children 2033e76ae3c0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
2
2136
9b93f639a2e1 Updated to LSL engine
boisy
parents: 2123
diff changeset
3 vpath %.asm ../objs_lsl
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
4
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
6
2136
9b93f639a2e1 Updated to LSL engine
boisy
parents: 2123
diff changeset
7 DISK_1_40D = spacequest2_d1_40d.dsk
9b93f639a2e1 Updated to LSL engine
boisy
parents: 2123
diff changeset
8 DISK_2_40D = spacequest2_d2_40d.dsk
9b93f639a2e1 Updated to LSL engine
boisy
parents: 2123
diff changeset
9 DISK_3_40D = spacequest2_d3_40d.dsk
9b93f639a2e1 Updated to LSL engine
boisy
parents: 2123
diff changeset
10 DISK_80D = spacequest2_80d.dsk
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
11
2216
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
12 DSKS = $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DISK_80D)
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
13
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
14 DISK_1_40D_NAME = "Space Quest II Disk 1"
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
15 DISK_2_40D_NAME = "Space Quest II Disk 2"
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
16 DISK_3_40D_NAME = "Space Quest II Disk 3"
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
17 DISK_80D_NAME = "Space Quest II"
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
18
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
19 CMDS = sierra mnln scrn shdw tocgen
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
20 MD = $(LEVEL2)/coco3/modules
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
21
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
22 # We make our own bootfile and kernel track
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
23 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
24 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
25 $(MD)/rbf.mn \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
26 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
27 $(MD)/scf.mn $(MD)/vtio.dr \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
28 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
29 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
30 $(MD)/vrn.dr $(MD)/vi.dd \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
31 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
32
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
33 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
34 $(MD)/rbf.mn \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
35 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
36 $(MD)/scf.mn $(MD)/vtio.dr \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
37 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
38 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
39 $(MD)/vrn.dr $(MD)/vi.dd \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
40 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
41
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
42 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
43 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
44 $(LEVEL2)/coco3/cmds/setime
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
45
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
46 TEXTFILES_D1 = startup tOC_40d.txt
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
47 TEXTFILES = startup tOC_80d.txt
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
48
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
49 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
50 vol.1 words.tok
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
51
2099
c0e39b3fc9e9 Updated
boisy
parents: 2085
diff changeset
52 SUPPORTFILES_D2 = object vol.0 vol.2
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
53
2099
c0e39b3fc9e9 Updated
boisy
parents: 2085
diff changeset
54 SUPPORTFILES_D3 = object vol.0 vol.3
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
55
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
56 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
57 vol.1 vol.2 vol.3 words.tok
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
58
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
59 ALLOBJS = $(CMDS)
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
60
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
61 all: $(ALLOBJS)
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
62
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
63 clean: dskclean
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
64 $(RM) $(ALLOBJS)
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
65
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
66 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
67 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D)
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
68 $(CD) $(LEVEL2)/coco3; make
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
69 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
70 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
71 $(MERGE) $(KERNEL)>kernel_1773
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
72 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
73 $(RM) os9boot_40d os9boot_80d kernel_1773
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
74 $(MAKDIR) $(DISK_1_40D),CMDS
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
75 $(CP) $(CMDS) $(DISK_1_40D),CMDS
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
76 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);)
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
77 $(MERGE) $(BOOTCMDS)>shell
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
78 $(CP) shell $(DISK_1_40D),CMDS
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
79 $(RM) shell
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
80 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
81 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
82 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
83 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
84 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
85 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
86 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
87 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
88 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
89 $(CP) $(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
90
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
91 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
92 $(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
93 $(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
94 $(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
95 $(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
96 $(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
97 $(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
98 $(RM) os9boot_40d 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
99 $(MAKDIR) $(DISK_80D),CMDS
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
100 $(CP) $(CMDS) $(DISK_80D),CMDS
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
101 $(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
102 $(MERGE) $(BOOTCMDS)>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
103 $(CP) shell $(DISK_80D),CMDS
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
104 $(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
105 $(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
106 $(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
107 $(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
108 $(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
109 $(CP) $(SUPPORTFILES) $(DISK_80D),.
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
110 tocgen $(DISK_80D),tOC.txt $(DISK_80D),tOC
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
111
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
112 dsk: dsk_40d dsk_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
113
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
114 dskcopy: dsk
2216
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
115 $(CP) $(DSKS) $(DSKDIR)
2085
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
116
5b4802bc4a61 Added makefile
boisy
parents:
diff changeset
117 dskclean:
2216
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
118 $(RM) $(DSKS)
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
119
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
120 info:
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
121 @$(ECHO) "*** Space Quest II ***"
d096a278e068 Added info targets
boisy
parents: 2136
diff changeset
122 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)