Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/subsim/makefile @ 1126:85eed1cde1b7
attr used throughout the makefiles now
author | boisy |
---|---|
date | Sun, 13 Apr 2003 23:42:51 +0000 |
parents | 6a058c03adb1 |
children | c847e6ee341d |
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 | |
1126 | 41 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
798 | 42 $(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell |
1126 | 43 $(OS9ATTR_EXEC) $(DISK),CMDS/shell |
798 | 44 $(OS9RENAME) $(DISK),CMDS/presub AutoEx |
795 | 45 $(CP) $(SUPPORTFILES) $(DISK),. |
1126 | 46 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $(DISK),$(file);) |
795 | 47 |
1121 | 48 dskcopy: |
49 $(CP) $(DISK) $(DSKDIR) | |
50 | |
795 | 51 dskclean: |
52 $(RM) $(DISK) |