Mercurial > hg > Members > kono > nitros9-code
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 |
rev | line source |
---|---|
2071 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
3 vpath %.asm ../objs_lsl |
2071 | 4 |
5 DEPENDS = ./makefile | |
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 | 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 | 10 |
2071 | 11 CMDS = sierra mnln scrn shdw tocgen |
12 MD = $(LEVEL2)/coco3/modules | |
13 | |
14 # We make our own bootfile and kernel track | |
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 | 17 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
18 $(MD)/rbf.mn \ | |
19 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ | |
20 $(MD)/scf.mn $(MD)/vtio.dr \ | |
21 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
22 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
23 $(MD)/vrn.dr $(MD)/vi.dd \ | |
24 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd | |
25 | |
26 BOOTCMDS = $(LEVEL2)/coco3/cmds/shell_21 $(LEVEL2)/coco3/cmds/date \ | |
27 $(LEVEL2)/coco3/cmds/echo $(LEVEL2)/coco3/cmds/link \ | |
28 $(LEVEL2)/coco3/cmds/setime | |
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 | 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 | 34 |
35 ALLOBJS = $(CMDS) | |
36 | |
37 all: $(ALLOBJS) | |
38 | |
39 clean: dskclean | |
40 $(RM) $(ALLOBJS) | |
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 | 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 | 46 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME) |
2071 | 47 $(MERGE) $(OS9BOOT_40D)>os9boot_40d |
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 | 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 | 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 | 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 | 66 |
67 dskclean: | |
2129
e1d1f7c55f32
Updated to LSL interpreter and compression, now fits on 40d
boisy
parents:
2128
diff
changeset
|
68 $(RM) $(DISK_40D) |