comparison 3rdparty/packages/kyumgai/makefile @ 2724:05b648103e78 lwtools-port

Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
author Boisy Pitre <boisy.pitre@nuance.com>
date Mon, 30 Jul 2012 19:35:05 -0500
parents 918c7c68ea4d
children 1868fbf470e7
comparison
equal deleted inserted replaced
2723:22bdfbe8bc68 2724:05b648103e78
1 include ../../../rules.mak 1 include ../../../rules.mak
2 2
3 DEPENDS = ./makefile 3 DEPENDS = ./makefile
4 4
5 DSK_FLOPPY = kyumgai.dsk 5 DSK_FLOPPY = kyumgai.dsk
6 DSK_DW3 = kyumgai_dw3.dsk 6 DSK_DW = kyumgai_dw.dsk
7 CMDS = ninja ninja.snd1 ninja.snd2 7 CMDS = ninja ninja.snd1 ninja.snd2
8 MD = $(LEVEL2)/coco3/modules 8 MD = $(LEVEL2)/coco3/modules
9 9
10 DSKS = $(DSK_FLOPPY) $(DSK_DW3) 10 DSKS = $(DSK_FLOPPY) $(DSK_DW)
11 11
12 # We make our own bootfile and kernel track 12 # We make our own bootfile and kernel track
13 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 13 KERNEL_FLOPPY = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
14 KERNEL_DW3 = $(MD)/rel_32 $(MD)/boot_dw3 $(MD)/krn 14 KERNEL_DW = $(MD)/rel_32 $(MD)/boot_dw $(MD)/krn
15 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 15 BOOTFILE_FLOPPY = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
16 $(MD)/rbf.mn \ 16 $(MD)/rbf.mn \
17 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \ 17 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
18 $(MD)/scf.mn $(MD)/vtio.dr \ 18 $(MD)/scf.mn $(MD)/vtio.dr \
19 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 19 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
20 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 20 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
21 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd 21 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
22 22
23 BOOTFILE_DW3 = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 23 BOOTFILE_DW = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
24 $(MD)/rbf.mn \ 24 $(MD)/rbf.mn \
25 $(MD)/rbdw3.dr $(MD)/dw3.sb $(MD)/ddx0.dd \ 25 $(MD)/rbdw.dr $(MD)/dwio.sb $(MD)/ddx0.dd \
26 $(MD)/scf.mn $(MD)/vtio.dr \ 26 $(MD)/scf.mn $(MD)/vtio.dr \
27 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ 27 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
28 $(MD)/covdg_small.io $(MD)/term_vdg.dt \ 28 $(MD)/covdg_small.io $(MD)/term_vdg.dt \
29 $(MD)/clock_60hz $(MD)/clock2_dw3 $(MD)/sysgo_dd 29 $(MD)/clock_60hz $(MD)/clock2_dw $(MD)/sysgo_dd
30 30
31 SUPPORTFILES = backgnd.dat backgnd2.dat bigblocks.dat blakguy.dat \ 31 SUPPORTFILES = backgnd.dat backgnd2.dat bigblocks.dat blakguy.dat \
32 gameover.dat giant.dat kyumgai.pla level1.dat level2.dat \ 32 gameover.dat giant.dat kyumgai.pla level1.dat level2.dat \
33 level3.dat level4.dat level5.dat level6.dat level7.dat \ 33 level3.dat level4.dat level5.dat level6.dat level7.dat \
34 level8.dat monmap1.dat monmap2.dat monmap3.dat monmap4.dat \ 34 level8.dat monmap1.dat monmap2.dat monmap3.dat monmap4.dat \
60 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 60 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
61 $(OS9RENAME) $@,CMDS/ninja AutoEx 61 $(OS9RENAME) $@,CMDS/ninja AutoEx
62 $(CP) $(SUPPORTFILES) $@,. 62 $(CP) $(SUPPORTFILES) $@,.
63 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) 63 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
64 64
65 $(DSK_DW3): 65 $(DSK_DW):
66 $(RM) $@ 66 $(RM) $@
67 $(CD) $(LEVEL2)/coco3; make 67 $(CD) $(LEVEL2)/coco3; make
68 $(OS9FORMAT_SS80) -q $@ -n"Kyum-Gai: To Be Ninja" 68 $(OS9FORMAT_SS80) -q $@ -n"Kyum-Gai: To Be Ninja"
69 $(MERGE) $(BOOTFILE_DW3)>os9boot 69 $(MERGE) $(BOOTFILE_DW)>os9boot
70 $(MERGE) $(KERNEL_DW3)>kernel 70 $(MERGE) $(KERNEL_DW)>kernel
71 $(OS9GEN) $@ -b=os9boot -t=kernel 71 $(OS9GEN) $@ -b=os9boot -t=kernel
72 $(RM) os9boot kernel 72 $(RM) os9boot kernel
73 $(MAKDIR) $@,CMDS 73 $(MAKDIR) $@,CMDS
74 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell 74 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $@,CMDS/shell
75 $(OS9ATTR_EXEC) $@,CMDS/shell 75 $(OS9ATTR_EXEC) $@,CMDS/shell