Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
Programmer
BootCmds
Commits
7db3a505
Commit
7db3a505
authored
28 years ago
by
Richard Buckley
Browse files
Options
Download
Email Patches
Plain Diff
Tidied up makefile
parent
3021f6f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
22 deletions
+32
-22
Makefile
Makefile
+16
-22
Mk,fd7
Mk,fd7
+16
-0
No files found.
Makefile
View file @
7db3a505
...
...
@@ -33,6 +33,9 @@ OBJASM = ObjAsm ${THROWBACK} -depend !Depend -stamp -quit
CMHG
=
CMHG
LINK
=
Link
ZM
=
-zM
WIPE
=
-wipe
WFLAGS
=
~c~vr
RM
=
remove
STUBS
=
CLib:o.Stubs
...
...
@@ -46,9 +49,9 @@ ABSSYM = RISC_OSLib:o.abssym
#
# Program specific options:
#
#
COMPONENT
=
Set in Components/Installation file to 'rom' or 'Repeat'
TARGET
=
aof.
BootCmds
RESDIR
=
<resource
$dir
>
.Resources2.BootCmds
COMPONENT
=
BootCmds
TARGET
=
aof.
${COMPONENT}
RESDIR
=
<resource
$dir
>
.Resources2.BootCmds
OBJS
=
o.files o.header o.main o.Messages o.Repeat o.riscos
...
...
@@ -65,31 +68,27 @@ RESOURCES = o.Messages o.Repeat
# Generic rules {used by top-level build}:
#
all
:
${COMPONENT}
; @
all
:
rm.
${COMPONENT}
rom
:
${TARGET}
@
echo
BootCmds: rom module built
Repeat
:
Resources.Repeat; @
@
echo
Repeat: programme built
export
:
@
echo
BootCmds:
export complete
install
:
install_${COMPONENT}
; @
install
:
install_${COMPONENT}
install_rom
:
${TARGET}
${CP}
${TARGET}
${INSTDIR}
.BootCmds
${CPFLAGS}
@
echo
BootCmds: rom module installed
install_Repeat
:
Resources.Repeat
${CP}
Resources.Repeat
${INSTDIR}
.Repeat
${CPFLAGS}
@
echo
Repeat: installed
@
echo
${COMPONENT}
: rom module installed
clean
:
-
Destroy RM.BootCmds
${OBJS}
${OBJSD}
${TARGET}
map.BootCmds linked.BootCmds
\
o.repeatcmd Resources.Repeat
@
echo
BootCmds: cleaned
${WIPE}
o.
*
${WFLAGS}
${WIPE}
rm.
*
${WFLAGS}
${WIPE}
linked.
*
${WFLAGS}
${WIPE}
map.
*
${WFLAGS}
${RM}
${TARGET}
@
echo
${COMPONENT}
: cleaned
resources
:
${MKDIR}
${RESDIR}
...
...
@@ -110,7 +109,7 @@ rom_link:
-map
>
map.BootCmds
truncate
map.BootCmds linked.BootCmds
${CP}
linked.BootCmds
${LINKDIR}
.BootCmds
${CPFLAGS}
@
echo
BootCmds
: rom_link
complete
@
echo
${COMPONENT}
: rom_link
complete
#
# Extra {development} rules:
...
...
@@ -118,11 +117,6 @@ rom_link:
asms
:
${ASMS}
release
:
RM.BootCmds
%Copy RM.BootCmds Root:RM.JCoxhead.BootCmds ~CFLNRV
/RM:BootCmds
@
Echo Made release
#Internal targets
RM.BootCmds
:
${OBJS} ${OSLIB} ${STUBS}
${LINK}
-rmf
-output
RM.BootCmds
${OBJS}
${OSLIB}
${STUBS}
...
...
This diff is collapsed.
Click to expand it.
Mk,fd7
0 → 100644
View file @
7db3a505
| Copyright 1997 Acorn Computers Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine all
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment