Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/subsim/makefile @ 1496:ae1f95eb053b
Removed more modules, fixed others
author | boisy |
---|---|
date | Tue, 23 Dec 2003 23:51:23 +0000 |
parents | 1ed7c47503e8 |
children | 1b23a41c674d |
rev | line source |
---|---|
1363 | 1 include ../../../rules.mak |
795 | 2 |
1363 | 3 DEPENDS = ./makefile |
795 | 4 |
800 | 5 DISK = subsim.dsk |
795 | 6 CMDS = presub sub sub1 sub2 sub3 sub4 sub5 sub6 |
1371 | 7 MD = $(6809L2)/modules |
795 | 8 |
9 # We make our own bootfile and kernel track | |
1371 | 10 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/kernel |
11 OS9BOOT = $(MD)/kernelp2 $(MD)/ioman $(MD)/init \ | |
795 | 12 $(MD)/rbf.mn \ |
13 $(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \ | |
14 $(MD)/scf.mn $(MD)/cc3io.dr \ | |
1311
e7cac8de00e9
Updated Makefiles to build bootfiles from new module filenames
boisy
parents:
1129
diff
changeset
|
15 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
795 | 16 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \ |
1318 | 17 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd |
795 | 18 |
19 SUPPORTFILES = control1.cmp convoys.dat diesel.dat fonts.dat germap.cmp \ | |
20 hiscore.dat mission.txt missions.dat radar.dat shipmap2.dat \ | |
1343
04d092844f61
Robert Gault added missing files, modified Makefile to make dsk proper.
boisy
parents:
1318
diff
changeset
|
21 sintbl.dat stitle.pic sub.dat usamap.cmp status.dat substats.dat |
795 | 22 |
23 ALLOBJS = $(CMDS) | |
24 | |
25 all: $(ALLOBJS) | |
26 | |
27 clean: dskclean | |
28 $(RM) $(ALLOBJS) | |
29 | |
30 dsk: all | |
31 $(RM) $(DISK) | |
1371 | 32 $(CD) $(6809L2); make |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
808
diff
changeset
|
33 $(OS9FORMAT_DS40) $(DISK) -n"Sub Battle Simulator" |
795 | 34 $(MERGE) $(OS9BOOT)>os9boot |
35 $(MERGE) $(KERNEL)>kernel_1773 | |
1036 | 36 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 |
795 | 37 $(RM) os9boot kernel_1773 |
1343
04d092844f61
Robert Gault added missing files, modified Makefile to make dsk proper.
boisy
parents:
1318
diff
changeset
|
38 $(MAKDIR) $(DISK),CMDS $(DISK),SUB |
795 | 39 $(CP) $(CMDS) $(DISK),CMDS |
1126 | 40 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
1371 | 41 $(CP) $(6809L2)/cmds/shell_21 $(DISK),CMDS/shell |
1126 | 42 $(OS9ATTR_EXEC) $(DISK),CMDS/shell |
798 | 43 $(OS9RENAME) $(DISK),CMDS/presub AutoEx |
1343
04d092844f61
Robert Gault added missing files, modified Makefile to make dsk proper.
boisy
parents:
1318
diff
changeset
|
44 $(CP) $(SUPPORTFILES) $(DISK),SUB |
04d092844f61
Robert Gault added missing files, modified Makefile to make dsk proper.
boisy
parents:
1318
diff
changeset
|
45 $(CP) sub6 $(DISK),SUB |
04d092844f61
Robert Gault added missing files, modified Makefile to make dsk proper.
boisy
parents:
1318
diff
changeset
|
46 $(OS9ATTR_EXEC) $(DISK),SUB/sub6 |
04d092844f61
Robert Gault added missing files, modified Makefile to make dsk proper.
boisy
parents:
1318
diff
changeset
|
47 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $(DISK),SUB/$(file);) |
795 | 48 |
1121 | 49 dskcopy: |
50 $(CP) $(DISK) $(DSKDIR) | |
51 | |
795 | 52 dskclean: |
53 $(RM) $(DISK) |