From 7592a0c969bb0119172e896c3b07c8bfa050903f Mon Sep 17 00:00:00 2001 From: goodale Date: Mon, 18 Jan 1999 19:16:13 +0000 Subject: Now make will recurse into subdirectories of a thorn. In your make.code.defn file put lines SRCS = SUBDIRS= then in each subdirectory put a make.code.defn containing SRCS = (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 /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 --- src/make.code.defn | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) (limited to 'src/make.code.defn') 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 -- cgit v1.2.3