Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/rof/makefile @ 1318:a543ba9d856b
Makefiles now reference sysgo instead of cc3go
author | boisy |
---|---|
date | Thu, 04 Sep 2003 20:10:18 +0000 |
parents | e7cac8de00e9 |
children | 53c50c807d55 |
rev | line source |
---|---|
584 | 1 include ../../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
4 | |
5 DISK = rof.dsk | |
6 CMDS = rescue | |
750
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
7 MD = $(LEVEL2)/MODULES |
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
8 |
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
9 # We make our own bootfile and kernel track |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
10 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/os9p1 |
753 | 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 \ | |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
15 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
775 | 16 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \ |
1318 | 17 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
750
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
18 |
585 | 19 SUPPORTFILES = body heads larms legs lips panel1 rofvar rship.c rtitle.c scores |
584 | 20 |
809 | 21 ALLOBJS = $(CMDS) |
22 | |
584 | 23 all: $(ALLOBJS) |
24 | |
25 clean: dskclean | |
26 $(RM) $(ALLOBJS) | |
27 | |
28 dsk: all | |
29 $(RM) $(DISK) | |
750
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
30 $(CD) $(LEVEL2); make |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
809
diff
changeset
|
31 $(OS9FORMAT_SS35) $(DISK) -n"Rescue on Fractalus" |
750
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
32 $(MERGE) $(OS9BOOT)>os9boot |
1bc9f2ecac47
bootfile and kernel are made remotely but assembled localy into os9boot
boisy
parents:
749
diff
changeset
|
33 $(MERGE) $(KERNEL)>kernel_1773 |
1036 | 34 $(OS9GEN) $(DISK) -t=os9boot -b=kernel_1773 |
759 | 35 $(RM) os9boot kernel_1773 |
749 | 36 $(MAKDIR) $(DISK),CMDS |
753 | 37 $(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell |
1126 | 38 $(OS9ATTR_EXEC) $(DISK),CMDS/shell |
753 | 39 $(CP) $(CMDS) $(DISK),CMDS |
1126 | 40 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
753 | 41 $(OS9RENAME) $(DISK),CMDS/rescue AutoEx |
749 | 42 $(CP) $(SUPPORTFILES) $(DISK),. |
1126 | 43 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $(DISK),$(file);) |
584 | 44 |
1121 | 45 dskcopy: dsk |
46 $(CP) $(DISK) $(DSKDIR) | |
47 | |
584 | 48 dskclean: |
49 $(RM) $(DISK) |