comparison 3rdparty/packages/kyumgai/makefile @ 772:e0cee1095d1a

Makefile
author boisy
date Fri, 10 Jan 2003 19:51:20 +0000
parents
children 7f1390575dec
comparison
equal deleted inserted replaced
771:347e1a8c539d 772:e0cee1095d1a
1 include ../../../Makefile.rules
2
3 DEPENDS = ./Makefile
4
5 DISK = kyumgai.dsk
6 CMDS = ninja ninja.snd1 ninja.snd2
7 SCRIPTS = install2dd
8 MD = $(LEVEL2)/MODULES
9
10 # We make our own bootfile and kernel track
11 KERNEL = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
12 OS9BOOT = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
13 $(MD)/rbf.mn \
14 $(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \
15 $(MD)/scf.mn $(MD)/cc3io.dr \
16 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
17 $(MD)/vdgint.io $(MD)/term_vdg.dt \
18 $(MD)/clock_soft $(MD)/cc3go
19
20 SUPPORTFILES = backgnd.dat backgnd2.dat bigblocks.dat blakguy.dat \
21 gameover.dat giant.dat kyumgai.pla level1.dat level2.dat \
22 level3.dat level4.dat level5.dat level6.dat level7.dat \
23 level8.dat monmap1.dat monmap2.dat monmap3.dat monmap4.dat \
24 monmap5.dat monmap6.dat monmap7.dat monmap8.dat ninja.dat \
25 objects.dat playscn.vef staffguy.dat tanguy.dat tobe.pla \
26 tobe.vef window.dat winner.vef
27
28 ALLOBJS = $(CMDS)
29
30 all: $(ALLOBJS)
31 $(CHMOD) 755 $(CMDS)
32
33 clean: dskclean
34 $(RM) $(ALLOBJS)
35 $(OS92UNIX) $(SCRIPTS)
36
37 dsk: all
38 $(RM) $(DISK)
39 $(CD) $(LEVEL2); make
40 $(OS9FORMAT) $(DISK) -t40 -h2 -n"Kyum-Gai: To Be Ninja"
41 $(MERGE) $(OS9BOOT)>os9boot
42 $(MERGE) $(KERNEL)>kernel_1773
43 $(OS9GEN) $(DISK) os9boot kernel_1773
44 $(RM) os9boot kernel_1773
45 $(MAKDIR) $(DISK),CMDS
46 $(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell
47 $(CP) $(CMDS) $(DISK),CMDS
48 $(OS9RENAME) $(DISK),CMDS/ninja AutoEx
49 $(CP) $(SUPPORTFILES) $(DISK),.
50 $(UNIX2OS9) $(SCRIPTS)
51 $(CP) $(SCRIPTS) $(DISK),.
52
53 dskclean:
54 $(RM) $(DISK)