Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/mm/makefile @ 2035:12ad1d266df9
coco port
author | boisy |
---|---|
date | Sat, 22 Apr 2006 19:02:41 +0000 |
parents | af946652495d |
children | c8bb06c82d68 |
rev | line source |
---|---|
1363 | 1 include ../../../rules.mak |
780 | 2 |
1363 | 3 DEPENDS = ./makefile |
780 | 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 | |
1371 | 8 MD = $(6809L2)/modules |
780 | 9 |
10 # We make our own bootfile and kernel track | |
1638 | 11 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
12 OS9BOOT = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
780 | 13 $(MD)/rbf.mn \ |
1638 | 14 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 15 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
16 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 17 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1318 | 18 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
780 | 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) | |
1371 | 31 $(CD) $(6809L2); 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 | |
1371 | 38 $(CP) $(6809L2)/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) |