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
Audio
SharedSnd
Commits
5cecac1b
Commit
5cecac1b
authored
Sep 24, 1998
by
Kevin Bracey
Browse files
Fixed Makefile to not keep re-building
parent
3ae2e964
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
Makefile
Makefile
+6
-8
Source/ReadMe
Source/ReadMe
+8
-5
No files found.
Makefile
View file @
5cecac1b
...
...
@@ -52,10 +52,12 @@ SOURCE = Source
SL
=
${SOURCE}
.o
SSLIB
=
${SL}
.Drivers
${SL}
.Handler
${SL}
.Linear
${SL}
.Memory
${SL}
.Module
\
${SL}
.SampleRate
${SL}
.SWIS
${SL}
.Vars
${SL}
.Volume
BASICFILES
=
o.Debug o.Drivers o.Handler o.Linear o.Memory o.Module o.SampleRate o.SWIS
\
o.Vars o.Volume o.SharedSoun
.o.c
:
set
tokenisefile
$*
utils.detoken1
;
BASIC
#
.o.c:
#
set tokenisefile $*
#
utils.detoken1; BASIC
.c.o
:
set
tokenisefile
$*
...
...
@@ -82,15 +84,11 @@ clean:
resources
:
@
echo
${COMPONENT}
: resource files copied
${TARGET}
:
o.SharedSoun makebasic
${TARGET}
:
${BASICFILES}
Set MakeSSnd
$Dir
@
Run o.SharedSoun
${WIPE}
o.
*
~cv
import
:
Debug.c Drivers.c Handler.c Linear.c Memory.c Module.c SampleRate.c SWIS.c Vars.c Volume.c SharedSoun.c
echo
made text files
makebasic
:
Debug.o Drivers.o Handler.o Linear.o Memory.o Module.o SampleRate.o SWIS.o Vars.o Volume.o SharedSoun.o
echo
made basic files
# Dynamic dependencies:
Source/ReadMe
View file @
5cecac1b
...
...
@@ -21,13 +21,16 @@ To import new code do the following.
1) Copy the new files in the Source directory.
2) Copy all the BASIC programs (SharedSound and SSLib.*) into the 'o'
directory
2) Do 'amu import' (MkImport) which will copy all the files into the 'c'
3) Change the Makefile - comment out the .c.o rule and uncomment the
.o.c rule.
4) Do 'amu import' (MkImport) which will copy all the files into the 'c'
directory.
3) So 'amu clean' (MkClean) to clear the 'o' directory.
4) If there are any new source files add them into the makefile.
5) Edit c.SharedSoun to change the LIBRARY definitions to point to the
5) Restore the makefile .o.c and .c.o rules to how they were.
6) So 'amu clean' (MkClean) to clear the 'o' directory.
7) If there are any new source files add them into the makefile.
8) Edit c.SharedSoun to change the LIBRARY definitions to point to the
files in the 'o' directory.
6
) Checkin the changes to CVS.
9
) Checkin the changes to CVS.
A change list supplied by ESP is as follows
...
...
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