Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/subsim/makefile @ 1121:6a058c03adb1
More Makefile changes
author | boisy |
---|---|
date | Sat, 12 Apr 2003 17:32:17 +0000 |
parents | f174634f2306 |
children | 85eed1cde1b7 |
rev | line source |
---|---|
795 | 1 include ../../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
4 | |
800 | 5 DISK = subsim.dsk |
795 | 6 CMDS = presub sub sub1 sub2 sub3 sub4 sub5 sub6 |
7 MD = $(LEVEL2)/MODULES | |
8 | |
9 # We make our own bootfile and kernel track | |
10 KERNEL = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1 | |
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 \ | |
15 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \ | |
16 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \ | |
17 $(MD)/clock_soft $(MD)/cc3go | |
18 | |
19 SUPPORTFILES = control1.cmp convoys.dat diesel.dat fonts.dat germap.cmp \ | |
20 hiscore.dat mission.txt missions.dat radar.dat shipmap2.dat \ | |
801 | 21 sintbl.dat stitle.pic sub.dat usamap.cmp |
795 | 22 |
23 ALLOBJS = $(CMDS) | |
24 | |
25 all: $(ALLOBJS) | |
26 $(CHMOD) 755 $(CMDS) | |
27 | |
28 clean: dskclean | |
29 $(RM) $(ALLOBJS) | |
30 | |
31 dsk: all | |
32 $(RM) $(DISK) | |
33 $(CD) $(LEVEL2); make | |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
808
diff
changeset
|
34 $(OS9FORMAT_DS40) $(DISK) -n"Sub Battle Simulator" |
795 | 35 $(MERGE) $(OS9BOOT)>os9boot |
36 $(MERGE) $(KERNEL)>kernel_1773 | |
1036 | 37 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 |
795 | 38 $(RM) os9boot kernel_1773 |
39 $(MAKDIR) $(DISK),CMDS | |
40 $(CP) $(CMDS) $(DISK),CMDS | |
798 | 41 $(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell |
42 $(OS9RENAME) $(DISK),CMDS/presub AutoEx | |
795 | 43 $(CP) $(SUPPORTFILES) $(DISK),. |
44 | |
1121 | 45 dskcopy: |
46 $(CP) $(DISK) $(DSKDIR) | |
47 | |
795 | 48 dskclean: |
49 $(RM) $(DISK) |