Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/rof/makefile @ 1638:1b23a41c674d
Updated makefiles
author | boisy |
---|---|
date | Wed, 14 Jul 2004 19:05:37 +0000 |
parents | 1ed7c47503e8 |
children | af946652495d |
rev | line source |
---|---|
1363 | 1 include ../../../rules.mak |
584 | 2 |
1363 | 3 DEPENDS = ./makefile |
584 | 4 |
5 DISK = rof.dsk | |
6 CMDS = rescue | |
1371 | 7 MD = $(6809L2)/modules |
750
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 |
1638 | 10 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
11 OS9BOOT = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
753 | 12 $(MD)/rbf.mn \ |
1638 | 13 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
753 | 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) | |
1371 | 30 $(CD) $(6809L2); 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 |
1371 | 37 $(CP) $(6809L2)/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) |