summaryrefslogtreecommitdiff
path: root/src/make.code.defn
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-18 19:16:13 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-18 19:16:13 +0000
commit7592a0c969bb0119172e896c3b07c8bfa050903f (patch)
tree6cb7e16e9a8786cab72c3304e323467515cc1ef6 /src/make.code.defn
parentf2e54a409e5ac50f7ff1041773eaf6817fc3cc84 (diff)
Now make will recurse into subdirectories of a thorn.
In your make.code.defn file put lines SRCS = <sources in this directory> SUBDIRS= <all subdirectories - e.g. what find . -type d would give you> then in each subdirectory put a make.code.defn containing SRCS = <sources in this directory> (N.B. you cannot currently put a SUBDIRS line here) along with make.code.deps files in all the directories. Make will then go into the relevant subdirectory and make the object files there before updating the library file. The first time it does this you will get errors of the form cannot find <subdir-name>/make.identity you should ignore these errors, as the make system then creates the files. If I find a way to do this without the errors, I'll be happy 8-) The files are used to keep track of the subdirectory filenames. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@66 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/make.code.defn')
-rw-r--r--src/make.code.defn31
1 files changed, 2 insertions, 29 deletions
diff --git a/src/make.code.defn b/src/make.code.defn
index e5974870..b268651e 100644
--- a/src/make.code.defn
+++ b/src/make.code.defn
@@ -1,29 +1,2 @@
-SRCS=\
-IO/CactusDefaultIO.c\
-IO/RegisterIOFunction.c\
-comm/CactusDefaultComm.c\
-comm/RegisterCommFunction.c\
-comm/GHExtensions.c\
-main/CactusDefaultInitialise.c\
-main/CallStartupFunctions.c\
-main/InitialiseCactus.c\
-main/ProcessCommandLine.c\
-main/ProcessParameterDatabase.c\
-main/RegisterMainFunction.c\
-main/ShutdownCactus.c\
-main/flesh.cc\
-main/CactusDefaultEvolve.c\
-main/SetParams.c\
-main/InitialiseDataStructures.c\
-main/RecordImplementation.c\
-main/RegisterThorn.c\
-main/CreateGroup.c\
-main/StoreVariableData.c\
-main/ConfigData.c\
-util/RegisterKeyedFunction.c\
-util/StoreKeyedData.c\
-util/StoreNamedData.c\
-util/BinaryTree.c\
-util/CactusTimers.c\
-util/ParseFile.c\
-util/ParseFile.c
+SRCS =
+SUBDIRS = IO comm rfr util main