annotate 3rdparty/packages/sierra/kingsquest1/makefile @ 2129:e1d1f7c55f32

Updated to LSL interpreter and compression, now fits on 40d
author boisy
date Wed, 26 Dec 2007 14:45:57 +0000
parents fa13c8170080
children d096a278e068
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2071
b1c59791822b Updated
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
b1c59791822b Updated
boisy
parents:
diff changeset
2
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
3 vpath %.asm ../objs_lsl
2071
b1c59791822b Updated
boisy
parents:
diff changeset
4
b1c59791822b Updated
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
b1c59791822b Updated
boisy
parents:
diff changeset
6
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
7 DISK_40D = kingsquest1_40d.dsk
2078
975880f2e543 Updated makefile, added startup
boisy
parents: 2077
diff changeset
8
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
9 DISK_40D_NAME = "King's Quest I"
2078
975880f2e543 Updated makefile, added startup
boisy
parents: 2077
diff changeset
10
2071
b1c59791822b Updated
boisy
parents:
diff changeset
11 CMDS = sierra mnln scrn shdw tocgen
b1c59791822b Updated
boisy
parents:
diff changeset
12 MD = $(LEVEL2)/coco3/modules
b1c59791822b Updated
boisy
parents:
diff changeset
13
b1c59791822b Updated
boisy
parents:
diff changeset
14 # We make our own bootfile and kernel track
b1c59791822b Updated
boisy
parents:
diff changeset
15 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
16
2071
b1c59791822b Updated
boisy
parents:
diff changeset
17 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
b1c59791822b Updated
boisy
parents:
diff changeset
18 $(MD)/rbf.mn \
b1c59791822b Updated
boisy
parents:
diff changeset
19 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
b1c59791822b Updated
boisy
parents:
diff changeset
20 $(MD)/scf.mn $(MD)/vtio.dr \
b1c59791822b Updated
boisy
parents:
diff changeset
21 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
b1c59791822b Updated
boisy
parents:
diff changeset
22 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
b1c59791822b Updated
boisy
parents:
diff changeset
23 $(MD)/vrn.dr $(MD)/vi.dd \
b1c59791822b Updated
boisy
parents:
diff changeset
24 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
b1c59791822b Updated
boisy
parents:
diff changeset
25
b1c59791822b Updated
boisy
parents:
diff changeset
26 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \
b1c59791822b Updated
boisy
parents:
diff changeset
27 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \
b1c59791822b Updated
boisy
parents:
diff changeset
28 $(LEVEL2)/coco3/cmds/setime
b1c59791822b Updated
boisy
parents:
diff changeset
29
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
30 TEXTFILES = startup tOC_40d.txt
2071
b1c59791822b Updated
boisy
parents:
diff changeset
31
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
32 SUPPORTFILES = logDir object picDir sndDir viewDir vol.0 \
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
33 vol.1 vol.2 words.tok
2071
b1c59791822b Updated
boisy
parents:
diff changeset
34
b1c59791822b Updated
boisy
parents:
diff changeset
35 ALLOBJS = $(CMDS)
b1c59791822b Updated
boisy
parents:
diff changeset
36
b1c59791822b Updated
boisy
parents:
diff changeset
37 all: $(ALLOBJS)
b1c59791822b Updated
boisy
parents:
diff changeset
38
b1c59791822b Updated
boisy
parents:
diff changeset
39 clean: dskclean
b1c59791822b Updated
boisy
parents:
diff changeset
40 $(RM) $(ALLOBJS)
b1c59791822b Updated
boisy
parents:
diff changeset
41
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
42 dsk: all
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
43 $(RM) $(DISK_40D) $(DISK_2_40D)
2071
b1c59791822b Updated
boisy
parents:
diff changeset
44 $(CD) $(LEVEL2)/coco3; make
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
45 $(OS9FORMAT_DS40) -q $(DISK_40D) -n$(DISK_40D_NAME)
2078
975880f2e543 Updated makefile, added startup
boisy
parents: 2077
diff changeset
46 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
2071
b1c59791822b Updated
boisy
parents:
diff changeset
47 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
b1c59791822b Updated
boisy
parents:
diff changeset
48 $(MERGE) $(KERNEL)>kernel_1773
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
49 $(OS9GEN) $(DISK_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
50 $(RM) os9boot_40d kernel_1773
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
51 $(MAKDIR) $(DISK_40D),CMDS
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
52 $(CP) $(CMDS) $(DISK_40D),CMDS
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
53 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_40D),CMDS/$(file);)
2071
b1c59791822b Updated
boisy
parents:
diff changeset
54 $(MERGE) $(BOOTCMDS)>shell
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
55 $(CP) shell $(DISK_40D),CMDS
2071
b1c59791822b Updated
boisy
parents:
diff changeset
56 $(RM) shell
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
57 $(OS9ATTR) $(DISK_40D),CMDS/shell -e -pe -pr -e -w -r
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
58 $(OS9RENAME) $(DISK_40D),CMDS/sierra AutoEx
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
59 $(CPL) $(TEXTFILES) $(DISK_40D),.
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
60 $(OS9RENAME) $(DISK_40D),tOC_40d.txt tOC.txt
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
61 tocgen $(DISK_40D),tOC.txt $(DISK_40D),tOC
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
62 $(CP) $(SUPPORTFILES) $(DISK_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
63
2071
b1c59791822b Updated
boisy
parents:
diff changeset
64 dskcopy: dsk
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
65 $(CP) $(DISK_40D) $(DSKDIR)
2071
b1c59791822b Updated
boisy
parents:
diff changeset
66
b1c59791822b Updated
boisy
parents:
diff changeset
67 dskclean:
2129
e1d1f7c55f32 Updated to LSL interpreter and compression, now fits on 40d
boisy
parents: 2128
diff changeset
68 $(RM) $(DISK_40D)