Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/kyumgai/makefile @ 2756:8b00f21d5b86
Modified makefile(s) related to some of the games in the 3rdparty/packages/ area. This change was done to bring the file naming style inline with those of the nos9l1/2 disk images related to becker.
author | drencor-xeen |
---|---|
date | Thu, 10 Jan 2013 22:00:22 -0600 |
parents | 1ff9d261b398 |
children | e4a0f58a5f9b |
rev | line source |
---|---|
1363 | 1 include ../../../rules.mak |
772 | 2 |
1363 | 3 DEPENDS = ./makefile |
772 | 4 |
2204 | 5 DSK_FLOPPY = kyumgai.dsk |
6 DSK_DW3 = kyumgai_dw3.dsk | |
2756
8b00f21d5b86
Modified makefile(s) related to some of the games in the 3rdparty/packages/ area. This change was done to bring the file naming style inline with those of the nos9l1/2 disk images related to becker.
drencor-xeen
parents:
2748
diff
changeset
|
7 DSK_DW3_BECKER = kyumgai_becker.dsk |
2748
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
8 |
772 | 9 CMDS = ninja ninja.snd1 ninja.snd2 |
2064 | 10 MD = $(LEVEL2)/coco3/modules |
772 | 11 |
2748
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
12 DSKS = $(DSK_FLOPPY) $(DSK_DW3) $(DSK_DW3_BECKER) |
2216 | 13 |
772 | 14 # We make our own bootfile and kernel track |
2204 | 15 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn |
16 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn | |
2748
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
17 KERNEL_DW3_BECKER = $(MD)/rel_32 $(MD)/boot_dw3_becker $(MD)/krn |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
18 |
2204 | 19 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
772 | 20 $(MD)/rbf.mn \ |
1638 | 21 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ |
1934 | 22 $(MD)/scf.mn $(MD)/vtio.dr \ |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
23 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1934 | 24 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1318 | 25 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
772 | 26 |
2204 | 27 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
28 $(MD)/rbf.mn \ | |
29 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ | |
30 $(MD)/scf.mn $(MD)/vtio.dr \ | |
31 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
32 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ | |
33 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd | |
34 | |
2748
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
35 BOOTFILE_DW3_BECKER = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
36 $(MD)/rbf.mn \ |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
37 $(MD)/rbdw3.dr $(MD)/dw3_becker.sb $(MD)/ddx0.dd \ |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
38 $(MD)/scf.mn $(MD)/vtio.dr \ |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
39 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
40 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
41 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
42 |
772 | 43 SUPPORTFILES = backgnd.dat backgnd2.dat bigblocks.dat blakguy.dat \ |
44 gameover.dat giant.dat kyumgai.pla level1.dat level2.dat \ | |
45 level3.dat level4.dat level5.dat level6.dat level7.dat \ | |
46 level8.dat monmap1.dat monmap2.dat monmap3.dat monmap4.dat \ | |
47 monmap5.dat monmap6.dat monmap7.dat monmap8.dat ninja.dat \ | |
48 objects.dat playscn.vef staffguy.dat tanguy.dat tobe.pla \ | |
49 tobe.vef window.dat winner.vef | |
50 | |
51 ALLOBJS = $(CMDS) | |
52 | |
53 all: $(ALLOBJS) | |
54 | |
55 clean: dskclean | |
56 $(RM) $(ALLOBJS) | |
57 | |
2216 | 58 dsk: all $(DSKS) |
2204 | 59 |
60 $(DSK_FLOPPY): | |
61 $(RM) $@ | |
2064 | 62 $(CD) $(LEVEL2)/coco3; make |
2229 | 63 $(OS9FORMAT_DS40) -q $@ -n"Kyum-Gai: To Be Ninja" |
2204 | 64 $(MERGE) $(BOOTFILE_FLOPPY)>os9boot |
65 $(MERGE) $(KERNEL_FLOPPY)>kernel | |
66 $(OS9GEN) $@ -b=os9boot -t=kernel | |
67 $(RM) os9boot kernel | |
68 $(MAKDIR) $@,CMDS | |
69 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
70 $(OS9ATTR_EXEC) $@,CMDS/shell | |
71 $(CP) $(CMDS) $@,CMDS | |
72 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
73 $(OS9RENAME) $@,CMDS/ninja AutoEx | |
74 $(CP) $(SUPPORTFILES) $@,. | |
75 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
76 | |
77 $(DSK_DW3): | |
78 $(RM) $@ | |
79 $(CD) $(LEVEL2)/coco3; make | |
2229 | 80 $(OS9FORMAT_SS80) -q $@ -n"Kyum-Gai: To Be Ninja" |
2204 | 81 $(MERGE) $(BOOTFILE_DW3)>os9boot |
82 $(MERGE) $(KERNEL_DW3)>kernel | |
83 $(OS9GEN) $@ -b=os9boot -t=kernel | |
84 $(RM) os9boot kernel | |
85 $(MAKDIR) $@,CMDS | |
86 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell | |
87 $(OS9ATTR_EXEC) $@,CMDS/shell | |
88 $(CP) $(CMDS) $@,CMDS | |
89 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | |
90 $(OS9RENAME) $@,CMDS/ninja AutoEx | |
91 $(CP) $(SUPPORTFILES) $@,. | |
92 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
772 | 93 |
2748
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
94 $(DSK_DW3_BECKER): |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
95 $(RM) $@ |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
96 $(CD) $(LEVEL2)/coco3; make |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
97 $(OS9FORMAT_SS80) -q $@ -n"Kyum-Gai: To Be Ninja" |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
98 $(MERGE) $(BOOTFILE_DW3_BECKER)>os9boot |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
99 $(MERGE) $(KERNEL_DW3_BECKER)>kernel |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
100 $(OS9GEN) $@ -b=os9boot -t=kernel |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
101 $(RM) os9boot kernel |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
102 $(MAKDIR) $@,CMDS |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
103 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
104 $(OS9ATTR_EXEC) $@,CMDS/shell |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
105 $(CP) $(CMDS) $@,CMDS |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
106 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
107 $(OS9RENAME) $@,CMDS/ninja AutoEx |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
108 $(CP) $(SUPPORTFILES) $@,. |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
109 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) |
1ff9d261b398
Updated makefile(s) related to fsim2, kyumgai, policequest1, and spacequest0 so that they create becker boot disks for use with drivewire4 server.
drencor-xeen
parents:
2229
diff
changeset
|
110 |
1121 | 111 dskcopy: dsk |
2216 | 112 $(CP) $(DSKS) $(DSKDIR) |
1121 | 113 |
772 | 114 dskclean: |
2216 | 115 $(RM) $(DSKS) |
116 | |
117 info: | |
118 @$(ECHO) "*** Kyum-Gai: To Be Ninja ***" | |
119 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |