Mercurial > hg > Members > kono > nitros9-code
annotate level1/dalpha/makefile @ 3040:3f25a36416a3
Dragon makefiles: Small cleanups
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Fri, 23 Jan 2015 22:04:12 +0100 |
parents | 542da7896526 |
children | c2030762022b |
rev | line source |
---|---|
2101 | 1 # |
2 #level1/dalpha/makefile | |
3 # | |
4 # 2005-04-24, P.Harvey-Smith. | |
5 # Brought into line with CoCo makefile, for generating disk | |
6 # names baded on CPU/Level/Release number. | |
7 # | |
8 # | |
9 # 2005-05-31, P.Harvey-Smith. | |
10 # Added options to specify the step rate of the created | |
11 # floppy devices. | |
12 # | |
13 # 2006-01-08, P.Harvey-Smith. | |
14 # Added option to compile for a Dragon 32 that has been upgraded | |
15 # to 64K, this is almost the same as the 64, except that it lacks | |
16 # a serial port. | |
17 # | |
18 # 2006-01-08, P.Harvey-Smith. | |
19 # Determined experementally the correct step rate for Dragon Data | |
20 # 5.25" drives, which is 12ms, this is over half the time of the | |
21 # value determined by using dmode under Dragon OS9. It seems that | |
22 # the Dragon OS9 dis driver ignored the value set for stp, and always | |
23 # used 12ms !!!! | |
24 # | |
25 # 2006-01-18, P.Harvey-Smith. | |
26 # Updates to support Tano Dragon 64, using RS-DOS controler. | |
27 # | |
28 # 2006-07-06, P.Harvey-Smith. | |
29 # Updated to use new build system, for multiple supported platforms. | |
30 # | |
31 | |
2905
bd215b95cd59
Makefiles: Do not set PORT since port.mak does it
Tormod Volden <debian.tormod@gmail.com>
parents:
2904
diff
changeset
|
32 include port.mak |
2101 | 33 |
34 # TERMWIDTH can be either VDG or HR, for 32x16 or 51x24 respectivly | |
35 #NOTE must be lower case. | |
36 TERMWIDTH = hr | |
37 | |
38 | |
39 #Default step rate for floppy drives | |
40 #Step can be one of : 0=30ms, 1=20ms, 2=12ms, 3=6ms | |
41 #Note old drives often require 30ms | |
42 #After experimenting with a real Dragon Data 5.25" drive I | |
43 #have determined that the drive will cope with 12ms step. | |
44 #Therefore setting this as the default for 32/64 also. | |
45 STEP = 2 | |
46 | |
47 #Is this machine a real 64, or a 32, upgraded to 64K. | |
48 #Set to 1 for upgraded machine. | |
49 UPGRADED32 = 0 | |
50 | |
51 # Level 1 - Specify which shell should be used | |
52 #WHICHSHELL = shellplus | |
53 WHICHSHELL = shell_21 | |
54 | |
55 DISTRO = $(CPU)L$(LEVEL) | |
56 DISTRONAME = nos9$(CPU)l$(LEVEL) | |
57 DISTROVER = $(DISTRONAME)$(NITROS9VER)$(PORT) | |
58 | |
59 BOOTFILE_COVDG = bootfiles/bootfile_covdg_ss80 | |
60 BOOTFILE_COHR = bootfiles/bootfile_cohr_ss80 | |
61 BOOTFILE_COVDG_DS80 = bootfiles/bootfile_covdg_ds80 | |
62 BOOTFILE_COHR_DS80 = bootfiles/bootfile_cohr_ds80 | |
63 | |
64 BOOTFILE_SS80 = bootfiles/bootfile_co$(TERMWIDTH)_ss80 | |
65 BOOTFILE_DS80 = bootfiles/bootfile_co$(TERMWIDTH)_ds80 | |
66 | |
67 KERNELFILE = bootfiles/kernel | |
68 DIRS = cmds modules defs sys bootfiles | |
69 | |
70 #DIRS = cmds sys | |
71 #modules bootfiles | |
72 #DDIRS = modules bootfiles defs | |
73 | |
2346
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
74 CMDS = $(shell $(CD) cmds; make --no-print-directory showcocoobjs) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
75 BOOTTRACK = $(shell $(CD) modules; make --no-print-directory showboottrack) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
76 KERNEL = $(shell $(CD) modules; make --no-print-directory showkernel) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
77 SYSMODS = $(shell $(CD) modules; make --no-print-directory showsysmods) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
78 CLOCKS = $(shell $(CD) modules; make --no-print-directory showclocks) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
79 RBF = $(shell $(CD) modules; make --no-print-directory showrbf) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
80 SCF = $(shell $(CD) modules; make --no-print-directory showscf) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
81 PIPE = $(shell $(CD) modules; make --no-print-directory showpipe) |
2101 | 82 MODULECMDS = $(WHICHSHELL) del echo format makdir merge os9gen prompt tmode |
83 | |
2346
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
84 SYS = $(shell $(CD) sys; make --no-print-directory showobjs) |
fb1c0a45f28e
Fix for /bin/sh: command substitution: line 0: unexpected EOF
chawks4
parents:
2217
diff
changeset
|
85 DEFS = $(shell $(CD) defs; make --no-print-directory showobjs) |
2101 | 86 ROOTFILES = startup |
87 | |
88 PACKAGENAME = $(DISTROVER).zip | |
89 DSK360K_1 = $(DISTROVER)_80s_1.dsk | |
90 LDSK360K_1 = $(DISTRONAME)_80s_1.dsk | |
91 DSK360K_2 = $(DISTROVER)_80s_2.dsk | |
92 LDSK360K_2 = $(DISTRONAME)_80s_2.dsk | |
93 DSK720K = $(DISTROVER)_80d.dsk | |
94 LDSK720K = $(DISTRONAME)_80d.dsk | |
95 | |
2217 | 96 DSKS = $(DSK360K_1) $(DSK360K_2) $(DSK720K) |
2742
f9a8ae065f80
Found LDSKS label was missing from level1/dalpha/makefile and was causing a problem with the disk images not being removed on a "make clean".
drencor-xeen
parents:
2346
diff
changeset
|
97 LDSKS = $(LDSK360K_1) $(LDSK360K_2) $(LDSK720K) |
2216 | 98 |
2101 | 99 # Make all components |
100 all: | |
2904
62c91ac49d72
Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
101 @$(ECHO) "************************************************************" |
62c91ac49d72
Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
102 @$(ECHO) "*" |
62c91ac49d72
Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
103 @$(ECHO) "* NitrOS-9/$(CPU) Level $(LEVEL) $(MACHINE) ($(PORT))" |
62c91ac49d72
Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
104 @$(ECHO) "*" |
62c91ac49d72
Make the banners print what we are compiling for
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
105 @$(ECHO) "************************************************************" |
3040
3f25a36416a3
Dragon makefiles: Small cleanups
Tormod Volden <debian.tormod@gmail.com>
parents:
2919
diff
changeset
|
106 $(foreach dir,$(DIRS),$(MAKE) -C $(dir) STEP=$(STEP) UPGRADED32=$(UPGRADED32) &&) : |
2101 | 107 |
108 # Clean all components | |
109 clean: dskclean | |
110 $(foreach dir, $(DIRS), ($(CD) $(dir); make clean);) | |
111 | |
112 dskclean: | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2742
diff
changeset
|
113 $(RM) $(PACKAGENAME) $(DSKS) $(LDSKS) |
2101 | 114 |
115 dsk: all $(PACKAGENAME) | |
116 | |
117 dskcopy: dsk | |
2217 | 118 $(CP) $(DSKS) $(DSKDIR) |
2101 | 119 |
120 scp: dsk | |
121 scp $(PACKAGENAME) boisy@cvs.nitros9.org:/home/nitros9/public_html | |
122 | |
2217 | 123 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog |
2101 | 124 $(ARCHIVE) $@ $^ |
125 | |
126 #Dragon Alpha internal drives are Single sided 80 track | |
127 | |
128 $(DSK360K_1): | |
129 $(RM) $@ | |
2919
542da7896526
d64/dalpha: Use variables from ports.mak in makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2905
diff
changeset
|
130 $(OS9FORMAT_SS80) -q -dr $@ -n"NitrOS-9/$(CPU) $(MACHINE) #1" |
2101 | 131 $(OS9GEN) $@ -d -b=$(BOOTFILE_SS80) -t=$(KERNELFILE) |
132 $(MAKDIR) $@,CMDS | |
133 $(MAKDIR) $@,SYS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
134 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
135 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2101 | 136 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell |
137 $(CD) sys; $(CPL) $(SYS) ../$@,SYS | |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
138 $(OS9ATTR_TEXT) $(foreach file,$(SYS),$@,SYS/$(file)) |
2101 | 139 $(MAKDIR) $@,DEFS |
140 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS | |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
141 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) |
2101 | 142 $(CPL) $(ROOTFILES) $@,. |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
143 $(OS9ATTR_TEXT) $(foreach file,$(ROOTFILES),$@,$(file)) |
2101 | 144 $(RM) $(LDSK360K_1) |
145 $(SOFTLINK) $@ $(LDSK360K_1) | |
146 | |
147 $(DSK360K_2): | |
148 $(RM) $@ | |
2919
542da7896526
d64/dalpha: Use variables from ports.mak in makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2905
diff
changeset
|
149 $(OS9FORMAT_SS80) -q -dr $@ -n"NitrOS-9/$(CPU) $(MACHINE) #2" |
2101 | 150 $(MAKDIR) $@,NITROS9 |
151 $(MAKDIR) $@,NITROS9/6809L1 | |
152 $(MAKDIR) $@,NITROS9/6809L1/CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
153 $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
154 $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/6809L1/CMDS/$(file)) |
2101 | 155 $(OS9RENAME) $@,NITROS9/6809L1/CMDS//$(WHICHSHELL) shell |
156 $(MAKDIR) $@,NITROS9/6809L1/MODULES | |
157 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
158 $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
159 $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file)) |
2101 | 160 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
161 $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
162 $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/6809L1/MODULES/KERNEL/$(file)) |
2101 | 163 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
164 $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
165 $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/6809L1/MODULES/SYSMODS/$(file)) |
2101 | 166 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
167 $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
168 $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/6809L1/MODULES/CLOCKS/$(file)) |
2101 | 169 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
170 $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
171 $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/6809L1/MODULES/RBF/$(file)) |
2101 | 172 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
173 $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
174 $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/6809L1/MODULES/SCF/$(file)) |
2101 | 175 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
176 $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
177 $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/6809L1/MODULES/PIPE/$(file)) |
2101 | 178 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS |
179 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS | |
180 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS | |
181 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS | |
182 $(RM) $(LDSK360K_2) | |
183 $(SOFTLINK) $@ $(LDSK360K_2) | |
184 | |
185 $(DSK720K): | |
186 $(RM) $@ | |
2919
542da7896526
d64/dalpha: Use variables from ports.mak in makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2905
diff
changeset
|
187 $(OS9FORMAT_DS80) -q -dr -c2 $@ -n"NitrOS-9/$(CPU) $(MACHINE)" |
2101 | 188 $(OS9GEN) $@ -d -b=$(BOOTFILE_DS80) -t=$(KERNELFILE) |
189 $(MAKDIR) $@,CMDS | |
190 $(MAKDIR) $@,SYS | |
191 $(MAKDIR) $@,DEFS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
192 $(CD) cmds; $(OS9COPY) $(CMDS) ../$@,CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
193 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2101 | 194 $(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell |
195 $(CD) sys; $(CPL) $(SYS) ../$@,SYS | |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
196 $(OS9ATTR_TEXT) $(foreach file,$(SYS),$@,SYS/$(file)) |
2101 | 197 $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
198 $(OS9ATTR_TEXT) $(foreach file,$(DEFS),$@,DEFS/$(file)) |
2101 | 199 $(CPL) $(ROOTFILES) $@,. |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
200 $(OS9ATTR_TEXT) $(foreach file,$(ROOTFILES),$@,$(file)) |
2101 | 201 $(MAKDIR) $@,NITROS9 |
202 $(MAKDIR) $@,NITROS9/6809L1 | |
203 $(MAKDIR) $@,NITROS9/6809L1/CMDS | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
204 $(CD) cmds; $(OS9COPY) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
205 $(OS9ATTR_EXEC) $(foreach file,$(MODULECMDS),$@,NITROS9/6809L1/CMDS/$(file)) |
2101 | 206 $(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell |
207 $(MAKDIR) $@,NITROS9/6809L1/MODULES | |
208 $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK | |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
209 $(CD) modules; $(OS9COPY) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
210 $(OS9ATTR_EXEC) $(foreach file,$(BOOTTRACK),$@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file)) |
2101 | 211 $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
212 $(CD) modules; $(OS9COPY) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
213 $(OS9ATTR_EXEC) $(foreach file,$(KERNEL),$@,NITROS9/6809L1/MODULES/KERNEL/$(file)) |
2101 | 214 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
215 $(CD) modules; $(OS9COPY) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
216 $(OS9ATTR_EXEC) $(foreach file,$(SYSMODS),$@,NITROS9/6809L1/MODULES/SYSMODS/$(file)) |
2101 | 217 $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
218 $(CD) modules; $(OS9COPY) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
219 $(OS9ATTR_EXEC) $(foreach file,$(CLOCKS),$@,NITROS9/6809L1/MODULES/CLOCKS/$(file)) |
2101 | 220 $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
221 $(CD) modules; $(OS9COPY) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
222 $(OS9ATTR_EXEC) $(foreach file,$(RBF),$@,NITROS9/6809L1/MODULES/RBF/$(file)) |
2101 | 223 $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
224 $(CD) modules; $(OS9COPY) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
225 $(OS9ATTR_EXEC) $(foreach file,$(SCF),$@,NITROS9/6809L1/MODULES/SCF/$(file)) |
2101 | 226 $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
227 $(CD) modules; $(OS9COPY) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE |
2873
46c80d4b0de1
makefiles: Factor out OS9ATTR_* command when using foreach()
Tormod Volden <debian.tormod@gmail.com>
parents:
2869
diff
changeset
|
228 $(OS9ATTR_EXEC) $(foreach file,$(PIPE),$@,NITROS9/6809L1/MODULES/PIPE/$(file)) |
2101 | 229 $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS |
230 $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS | |
231 $(MAKDIR) $@,NITROS9/6809L1/SCRIPTS | |
232 $(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS | |
233 $(RM) $(LDSK720K) | |
234 $(SOFTLINK) $@ $(LDSK720K) | |
235 | |
2216 | 236 info: |
2919
542da7896526
d64/dalpha: Use variables from ports.mak in makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2905
diff
changeset
|
237 @$(ECHO) "*** NitrOS-9/$(CPU) Level $(LEVEL) for the $(MACHINE) ***" |
2217 | 238 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |