annotate 3rdparty/packages/arcadepak/makefile @ 2762:9b29d654db13

Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables. Corrected problem with blackcauldron makefile removing tocgen in disk creation process. Corrected problem with christmas86 makefile removing tocgen in disk creation process.
author drencor-xeen
date Wed, 16 Jan 2013 13:16:05 -0600
parents e4a0f58a5f9b
children c03464c24b14
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
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
15 SMASHCMDS = $(shell $(CD) smash; make --no-print-directory showobjs)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
16 SMASHSYS = $(shell $(CD) smash; make --no-print-directory showsys)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
17 SMASHROOT = $(shell $(CD) smash; make --no-print-directory showroot)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
18 THEXCMDS = $(shell $(CD) thexder; make --no-print-directory showobjs)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
19 THEXSYS = $(shell $(CD) thexder; make --no-print-directory showsys)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
20 THEXROOT = $(shell $(CD) thexder; make --no-print-directory showroot)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
21 SHANGCMDS = $(shell $(CD) shanghai; make --no-print-directory showobjs)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
22 SHANGSYS = $(shell $(CD) shanghai; make --no-print-directory showsys)
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
23 SHANGROOT = $(shell $(CD) shanghai; make --no-print-directory showroot)
2610
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
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
64 $(RM) $@
2610
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
65 $(CD) $(6809L2); make
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
66 $(OS9FORMAT_DS40) $@ -n"NitrOS-9 Arcade Pack"
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
67 $(MERGE) $(OS9BOOT_40D)>os9boot
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
68 $(MERGE) $(KERNEL)>kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
69 $(OS9GEN) $@ -b=os9boot -t=kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
70 $(RM) os9boot kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
71 $(MAKDIR) $@,CMDS
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
72 $(CP) shell $@,CMDS
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
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
93 $(RM) $@
2610
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
94 $(CD) $(6809L2); make
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
95 $(OS9FORMAT_DS80) $@ -n"NitrOS-9 Arcade Pack"
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
96 $(MERGE) $(OS9BOOT_80D)>os9boot
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
97 $(MERGE) $(KERNEL)>kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
98 $(OS9GEN) $@ -b=os9boot -t=kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
99 $(RM) os9boot kernel_1773
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
100 $(MAKDIR) $@,CMDS
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
101 $(CP) shell $@,CMDS/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
2762
9b29d654db13 Added empty_smash.txt and empty_thexder.txt to their respective folders and updated makefile(s) to use these files for their blank ROOT variables.
drencor-xeen
parents: 2758
diff changeset
122 $(RM) shell
2610
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
123 $(CD) smash; make clean
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
124 $(CD) thexder; make clean
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
125 $(CD) shanghai; make clean
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
126
2613
3980dea6c3f2 Added dskcopy target
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2612
diff changeset
127 dskcopy: dsk
3980dea6c3f2 Added dskcopy target
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2612
diff changeset
128 $(CP) $(DISK_40D) $(DISK_80D) $(DSKDIR)
3980dea6c3f2 Added dskcopy target
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2612
diff changeset
129
2610
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
130 dskclean:
0db361fd74df Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
131 $(RM) $(DISK_40D) $(DISK_80D)
2612
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
132
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
133 info:
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
134 @$(ECHO) "*** NitrOS-9 Arcade Pak ***"
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
135 @$(ECHO) $(DISK_40D) $(DISK_80D)
e55663e7aa7b Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2610
diff changeset
136