Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/mm/makefile @ 1126:85eed1cde1b7
attr used throughout the makefiles now
author | boisy |
---|---|
date | Sun, 13 Apr 2003 23:42:51 +0000 |
parents | 6a058c03adb1 |
children | c847e6ee341d |
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 $(CHMOD) 755 $(CMDS) | |
26 | |
27 clean: dskclean | |
28 $(RM) $(ALLOBJS) | |
29 | |
30 dsk: all | |
31 $(RM) $(DISK) | |
32 $(CD) $(LEVEL2); make | |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
806
diff
changeset
|
33 $(OS9FORMAT_DS40) $(DISK) -n"Microscopic Mission" |
780 | 34 $(MERGE) $(OS9BOOT)>os9boot |
35 $(MERGE) $(KERNEL)>kernel_1773 | |
1036 | 36 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 |
780 | 37 $(RM) os9boot kernel_1773 |
38 $(MAKDIR) $(DISK),CMDS | |
39 $(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell | |
1126 | 40 $(OS9ATTR_EXEC) $(DISK),CMDS/shell |
780 | 41 $(CP) $(CMDS) $(DISK),CMDS |
1126 | 42 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
780 | 43 $(OS9RENAME) $(DISK),CMDS/mm AutoEx |
44 $(CP) $(SUPPORTFILES) $(DISK),. | |
1126 | 45 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $(DISK),$(file);) |
780 | 46 |
1121 | 47 dskcopy: dsk |
48 $(CP) $(DISK) $(DSKDIR) | |
49 | |
780 | 50 dskclean: |
51 $(RM) $(DISK) |