777
|
1 include ../../../Makefile.rules
|
|
2
|
|
3 DEPENDS = ./Makefile
|
|
4
|
|
5 DISK = lsl.dsk
|
|
6 CMDS = sierra mnln scrn shdw
|
|
7 MD = $(LEVEL2)/MODULES
|
|
8
|
|
9 # We make our own bootfile and kernel track
|
|
10 KERNEL = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
|
|
11 OS9BOOT = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
|
|
12 $(MD)/rbf.mn \
|
|
13 $(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \
|
|
14 $(MD)/scf.mn $(MD)/cc3io.dr \
|
|
15 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
|
|
16 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \
|
|
17 $(MD)/vrn.dr $(MD)/vi.dd \
|
|
18 $(MD)/clock_soft $(MD)/cc3go
|
|
19
|
|
20 SUPPORTFILES = logDir object picDir sndDir tOC viewDir vol.0 \
|
|
21 vol.1 vol.2 vol.3 vol.4 words.tok
|
|
22
|
|
23 ALLOBJS = $(CMDS)
|
|
24
|
|
25 all: $(ALLOBJS)
|
|
26 $(CHMOD) 755 $(CMDS)
|
|
27
|
|
28 clean: dskclean
|
|
29 $(RM) $(ALLOBJS)
|
|
30
|
|
31 dsk: all
|
|
32 $(RM) $(DISK)
|
|
33 $(CD) $(LEVEL2); make
|
|
34 $(OS9FORMAT) $(DISK) -t40 -h2 -n"Leisure Suit Larry"
|
|
35 $(MERGE) $(OS9BOOT)>os9boot
|
|
36 $(MERGE) $(KERNEL)>kernel_1773
|
|
37 $(OS9GEN) $(DISK) os9boot kernel_1773
|
|
38 $(RM) os9boot kernel_1773
|
|
39 $(MAKDIR) $(DISK),CMDS
|
|
40 $(CP) $(CMDS) $(DISK),CMDS
|
|
41 $(OS9RENAME) $(DISK),CMDS/sierra AutoEx
|
|
42 $(CP) $(SUPPORTFILES) $(DISK),.
|
|
43
|
|
44 dskclean:
|
|
45 $(RM) $(DISK)
|