annotate 3rdparty/packages/arcadepak/makefile @ 2758:e4a0f58a5f9b

Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded. To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author drencor-xeen
date Mon, 14 Jan 2013 14:37:46 -0600
parents 3980dea6c3f2
children 9b29d654db13
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2758
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2613
diff changeset
1 ifndef NITROS9DIR
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2613
diff changeset
2 NITROS9DIR = $(HOME)/nitros9
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2613
diff changeset
3 endif
2610
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 include $(NITROS9DIR)/rules.mak
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6 6809L2 = $(NITROS9DIR)/level2/coco3
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 DEPENDS = ./makefile
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
8
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 CMD = $(6809L2)/cmds
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10 DISK_40D = arcadepack_40d.dsk
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
11 DISK_80D = arcadepack_80d.dsk
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12 CMDS = grfdrv runb
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
13 SHELLMODS = $(CMD)/shell_21 $(CMD)/dir $(CMD)/echo $(CMD)/link $(CMD)/load $(CMD)/mdir
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
14
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
15 SMASHCMDS = $(shell $(CD) smash; make showobjs)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
16 SMASHSYS = $(shell $(CD) smash; make showsys)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
17 SMASHROOT = $(shell $(CD) smash; make showroot)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
18 THEXCMDS = $(shell $(CD) thexder; make showobjs)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
19 THEXSYS = $(shell $(CD) thexder; make showsys)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
20 THEXROOT = $(shell $(CD) thexder; make showroot)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
21 SHANGCMDS = $(shell $(CD) shanghai; make showobjs)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
22 SHANGSYS = $(shell $(CD) shanghai; make showsys)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
23 SHANGROOT = $(shell $(CD) shanghai; make showroot)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
24 MD = $(6809L2)/modules
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
25
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
26 # We make our own bootfile and kernel track
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
27 KERNEL = $(MD)/rel_40 $(MD)/boot_1773_6ms $(MD)/krn
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
28 OS9BOOT_40D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
29 $(MD)/rbf.mn \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
30 $(MD)/rb1773.dr $(MD)/ddd0_40d.dd \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
31 $(MD)/scf.mn $(MD)/vtio.dr \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
32 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
33 $(MD)/cogrf.io $(MD)/term_win40.dt $(MD)/w.dw $(MD)/w1.dw \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
34 $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw $(MD)/w5.dw \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
35 $(MD)/w6.dw $(MD)/w7.dw \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
36 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
37
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
38 OS9BOOT_80D = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
39 $(MD)/rbf.mn \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
40 $(MD)/rb1773.dr $(MD)/ddd0_80d.dd \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
41 $(MD)/scf.mn $(MD)/vtio.dr \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
42 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
43 $(MD)/cogrf.io $(MD)/term_win40.dt $(MD)/w.dw $(MD)/w1.dw \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
44 $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw $(MD)/w5.dw \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
45 $(MD)/w6.dw $(MD)/w7.dw \
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
46 $(MD)/clock_60hz $(MD)/clock2_soft $(MD)/sysgo_dd
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
47
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
48 ALLOBJS = $(CMDS)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
49
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
50 all: shell
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
51 $(CD) smash; make
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
52 $(CD) thexder; make
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
53 $(CD) shanghai; make
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
54
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
55 dsk: $(DISK_40D) $(DISK_80D)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
56
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
57 shell: $(DEPENDS)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
58 $(MERGE) $(SHELLMODS)>$@
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
59 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
60 @ls -l $@
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
61 @$(ECHO) ""
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
62
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
63 $(DISK_40D): all
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
64 $(CD) $(6809L2); make
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
65 $(OS9FORMAT_DS40) $@ -n"NitrOS-9 Arcade Pack"
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
66 $(MERGE) $(OS9BOOT_40D)>os9boot
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
67 $(MERGE) $(KERNEL)>kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
68 $(OS9GEN) $@ -b=os9boot -t=kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
69 $(RM) os9boot kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
70 $(MAKDIR) $@,CMDS
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
71 $(CP) shell $@,CMDS
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
72 $(RM) shell
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
73 $(OS9ATTR_EXEC) $@,CMDS/shell
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
74 $(foreach file, $(CMDS), $(CP) $(6809L2)/cmds/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
75 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
76 $(foreach file, $(SMASHCMDS), $(CP) smash/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
77 $(foreach file, $(SMASHCMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
78 $(foreach file, $(THEXCMDS), $(CP) thexder/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
79 $(foreach file, $(THEXCMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
80 $(foreach file, $(SHANGCMDS), $(CP) shanghai/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
81 $(foreach file, $(SHANGCMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
82 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
83 $(MAKDIR) $@,SYS
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
84 $(foreach file, $(SMASHSYS), $(CP) smash/$(file) $@,SYS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
85 $(foreach file, $(THEXSYS), $(CP) thexder/$(file) $@,SYS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
86 $(foreach file, $(SHANGSYS), $(CP) shanghai/$(file) $@,SYS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
87 $(foreach file, $(SMASHROOT), $(CP) smash/$(file) $@,$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
88 $(foreach file, $(THEXROOT), $(CP) thexder/$(file) $@,$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
89 $(foreach file, $(SHANGROOT), $(CP) shanghai/$(file) $@,$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
90 $(CPL) startup $@,
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
91
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
92 $(DISK_80D): all
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
93 $(CD) $(6809L2); make
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
94 $(OS9FORMAT_DS80) $@ -n"NitrOS-9 Arcade Pack"
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
95 $(MERGE) $(OS9BOOT_80D)>os9boot
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
96 $(MERGE) $(KERNEL)>kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
97 $(OS9GEN) $@ -b=os9boot -t=kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
98 $(RM) os9boot kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
99 $(MAKDIR) $@,CMDS
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
100 $(CP) shell $@,CMDS/shell
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
101 $(RM) shell
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
102 $(OS9ATTR_EXEC) $@,CMDS/shell
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
103 $(foreach file, $(CMDS), $(CP) $(6809L2)/cmds/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
104 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
105 $(foreach file, $(SMASHCMDS), $(CP) smash/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
106 $(foreach file, $(SMASHCMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
107 $(foreach file, $(THEXCMDS), $(CP) thexder/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
108 $(foreach file, $(THEXCMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
109 $(foreach file, $(SHANGCMDS), $(CP) shanghai/$(file) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
110 $(foreach file, $(SHANGCMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
111 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
112 $(MAKDIR) $@,SYS
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
113 $(foreach file, $(SMASHSYS), $(CP) smash/$(file) $@,SYS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
114 $(foreach file, $(THEXSYS), $(CP) thexder/$(file) $@,SYS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
115 $(foreach file, $(SHANGSYS), $(CP) shanghai/$(file) $@,SYS/$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
116 $(foreach file, $(SMASHROOT), $(CP) smash/$(file) $@,$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
117 $(foreach file, $(THEXROOT), $(CP) thexder/$(file) $@,$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
118 $(foreach file, $(SHANGROOT), $(CP) shanghai/$(file) $@,$(file);)
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
119 $(CPL) startup $@,
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
120
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
121 clean: dskclean
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
122 $(CD) smash; make clean
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
123 $(CD) thexder; make clean
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
124 $(CD) shanghai; make clean
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
125
2613
3980dea6c3f2 Added dskcopy target
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2612
diff changeset
126 dskcopy: dsk
3980dea6c3f2 Added dskcopy target
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2612
diff changeset
127 $(CP) $(DISK_40D) $(DISK_80D) $(DSKDIR)
3980dea6c3f2 Added dskcopy target
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2612
diff changeset
128
2610
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
129 dskclean:
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
130 $(RM) $(DISK_40D) $(DISK_80D)
2612
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
131
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
132 info:
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
133 @$(ECHO) "*** NitrOS-9 Arcade Pak ***"
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
134 @$(ECHO) $(DISK_40D) $(DISK_80D)
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
135