Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/mm/makefile @ 1129:c847e6ee341d
Removed CHMODs now that os9 attrs are in place
author | boisy |
---|---|
date | Mon, 14 Apr 2003 02:58:44 +0000 |
parents | 85eed1cde1b7 |
children | e7cac8de00e9 |
rev | line source |
---|---|
780 | 1 include ../../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
4 | |
5 DISK = mm.dsk | |
6 CMDS = mm mod1.dat mod2.dat mod3.dat mod4.dat mod5.dat \ | |
7 mod6.sbr mod7.sbr mod8.sbr | |
8 MD = $(LEVEL2)/MODULES | |
9 | |
10 # We make our own bootfile and kernel track | |
11 KERNEL = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1 | |
12 OS9BOOT = $(MD)/os9p2 $(MD)/ioman $(MD)/init \ | |
13 $(MD)/rbf.mn \ | |
14 $(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \ | |
15 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
16 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
17 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \ | |
18 $(MD)/clock_soft $(MD)/cc3go | |
19 | |
20 SUPPORTFILES = global.dat mm.lib mm.pnl mm.ttl mod7.lib | |
21 | |
22 ALLOBJS = $(CMDS) | |
23 | |
24 all: $(ALLOBJS) | |
25 | |
26 clean: dskclean | |
27 $(RM) $(ALLOBJS) | |
28 | |
29 dsk: all | |
30 $(RM) $(DISK) | |
31 $(CD) $(LEVEL2); make | |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
806
diff
changeset
|
32 $(OS9FORMAT_DS40) $(DISK) -n"Microscopic Mission" |
780 | 33 $(MERGE) $(OS9BOOT)>os9boot |
34 $(MERGE) $(KERNEL)>kernel_1773 | |
1036 | 35 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 |
780 | 36 $(RM) os9boot kernel_1773 |
37 $(MAKDIR) $(DISK),CMDS | |
38 $(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell | |
1126 | 39 $(OS9ATTR_EXEC) $(DISK),CMDS/shell |
780 | 40 $(CP) $(CMDS) $(DISK),CMDS |
1126 | 41 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
780 | 42 $(OS9RENAME) $(DISK),CMDS/mm AutoEx |
43 $(CP) $(SUPPORTFILES) $(DISK),. | |
1126 | 44 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $(DISK),$(file);) |
780 | 45 |
1121 | 46 dskcopy: dsk |
47 $(CP) $(DISK) $(DSKDIR) | |
48 | |
780 | 49 dskclean: |
50 $(RM) $(DISK) |