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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1343
diff changeset
1 include ../../../rules.mak
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
2
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1343
diff changeset
3 DEPENDS = ./makefile
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
4
800
fdf8421cd00f Changed diskname to subsim.dsk
boisy
parents: 798
diff changeset
5 DISK = subsim.dsk
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
6 CMDS = presub sub sub1 sub2 sub3 sub4 sub5 sub6
1371
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
7 MD = $(6809L2)/modules
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
8
7d5919f5610b Makefile
boisy
parents:
diff changeset
9 # We make our own bootfile and kernel track
1371
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
10 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/kernel
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
11 OS9BOOT = $(MD)/kernelp2 $(MD)/ioman $(MD)/init \
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
12 $(MD)/rbf.mn \
7d5919f5610b Makefile
boisy
parents:
diff changeset
13 $(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \
7d5919f5610b Makefile
boisy
parents:
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
16 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \
1318
a543ba9d856b Makefiles now reference sysgo instead of cc3go
boisy
parents: 1311
diff changeset
17 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
18
7d5919f5610b Makefile
boisy
parents:
diff changeset
19 SUPPORTFILES = control1.cmp convoys.dat diesel.dat fonts.dat germap.cmp \
7d5919f5610b Makefile
boisy
parents:
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
22
7d5919f5610b Makefile
boisy
parents:
diff changeset
23 ALLOBJS = $(CMDS)
7d5919f5610b Makefile
boisy
parents:
diff changeset
24
7d5919f5610b Makefile
boisy
parents:
diff changeset
25 all: $(ALLOBJS)
7d5919f5610b Makefile
boisy
parents:
diff changeset
26
7d5919f5610b Makefile
boisy
parents:
diff changeset
27 clean: dskclean
7d5919f5610b Makefile
boisy
parents:
diff changeset
28 $(RM) $(ALLOBJS)
7d5919f5610b Makefile
boisy
parents:
diff changeset
29
7d5919f5610b Makefile
boisy
parents:
diff changeset
30 dsk: all
7d5919f5610b Makefile
boisy
parents:
diff changeset
31 $(RM) $(DISK)
1371
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
34 $(MERGE) $(OS9BOOT)>os9boot
7d5919f5610b Makefile
boisy
parents:
diff changeset
35 $(MERGE) $(KERNEL)>kernel_1773
1036
f174634f2306 added new options for os9gen
boisy
parents: 960
diff changeset
36 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
39 $(CP) $(CMDS) $(DISK),CMDS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1121
diff changeset
40 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);)
1371
1ed7c47503e8 More changes
boisy
parents: 1363
diff changeset
41 $(CP) $(6809L2)/cmds/shell_21 $(DISK),CMDS/shell
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1121
diff changeset
42 $(OS9ATTR_EXEC) $(DISK),CMDS/shell
798
eee9840936c8 A few more changes
boisy
parents: 795
diff changeset
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
7d5919f5610b Makefile
boisy
parents:
diff changeset
48
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
49 dskcopy:
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
50 $(CP) $(DISK) $(DSKDIR)
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
51
795
7d5919f5610b Makefile
boisy
parents:
diff changeset
52 dskclean:
7d5919f5610b Makefile
boisy
parents:
diff changeset
53 $(RM) $(DISK)