Commit 5cecac1b authored by Kevin Bracey's avatar Kevin Bracey
Browse files

Fixed Makefile to not keep re-building

parent 3ae2e964
......@@ -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:
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment