annotate 3rdparty/packages/sierra/policequest1/makefile @ 2202:981b4e7e8014

Fixed makefile to copy dsks
author boisy
date Sat, 14 Mar 2009 20:11:55 +0000
parents 98c37d4c15d5
children d096a278e068
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
2
2134
98c37d4c15d5 Updated to LSL engine
boisy
parents: 2099
diff changeset
3 vpath %.asm ../objs_lsl
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
4
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
6
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
7 DISK_1_40D = policequest1_d1_40d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
8 DISK_2_40D = policequest1_d2_40d.dsk
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
9 DISK_3_40D = policequest1_d3_40d.dsk
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
10
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
11 DISK_1_40D_NAME = "Police Quest I Disk 1"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
12 DISK_2_40D_NAME = "Police Quest I Disk 2"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
13 DISK_3_40D_NAME = "Police Quest I Disk 3"
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
14
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
15 CMDS = sierra mnln scrn shdw tocgen
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
16 MD = $(LEVEL2)/coco3/modules
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
17
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
18 # We make our own bootfile and kernel track
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
19 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
20 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
21 $(MD)/rbf.mn \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
22 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
23 $(MD)/scf.mn $(MD)/vtio.dr \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
24 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
25 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
26 $(MD)/vrn.dr $(MD)/vi.dd \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
27 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
28
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
29 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
30 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
31 $(LEVEL2)/coco3/cmds/setime
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
32
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
33 TEXTFILES_D1 = startup tOC_40d.txt
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
34 TEXTFILES = startup tOC_80d.txt
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
35
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
36 SUPPORTFILES_D1 = logDir object picDir sndDir viewDir vol.0 \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
37 vol.1 words.tok
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
38
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
39 SUPPORTFILES_D2 = object vol.0 vol.2
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
40
2099
c0e39b3fc9e9 Updated
boisy
parents: 2091
diff changeset
41 SUPPORTFILES_D3 = object vol.0 vol.3
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
42
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
43 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
44 vol.1 vol.2 vol.3 words.tok
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
45
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
46 ALLOBJS = $(CMDS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
47
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
48 all: $(ALLOBJS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
49
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
50 clean: dskclean
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
51 $(RM) $(ALLOBJS)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
52
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
53 dsk: all
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
54 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
55 $(CD) $(LEVEL2)/coco3; make
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
56 $(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
57 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
58 $(MERGE) $(KERNEL)>kernel_1773
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
59 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
60 $(RM) os9boot_40d os9boot_80d kernel_1773
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
61 $(MAKDIR) $(DISK_1_40D),CMDS
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
62 $(CP) $(CMDS) $(DISK_1_40D),CMDS
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
63 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
64 $(MERGE) $(BOOTCMDS)>shell
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
65 $(CP) shell $(DISK_1_40D),CMDS
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
66 $(RM) shell
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
67 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
68 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
69 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
70 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
71 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
72 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
73 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
74 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
75 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
76 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),.
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
77
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
78 dskcopy: dsk
2202
981b4e7e8014 Fixed makefile to copy dsks
boisy
parents: 2134
diff changeset
79 $(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DSKDIR)
2091
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
80
2720f46d0cc6 Police Quest I now in repository
boisy
parents:
diff changeset
81 dskclean:
2202
981b4e7e8014 Fixed makefile to copy dsks
boisy
parents: 2134
diff changeset
82 $(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_3_40D) $(DSKDIR)