diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-01-17 21:53:13 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-01-17 21:53:13 +0000 |
commit | 49dd8431ebb496bd0e709be24073f725e52687e2 (patch) | |
tree | 64c6321712054ec87e742611b9f89cc3da3e04a9 /src/make.code.defn | |
parent | 803e78cd9586d7141ea1079600ae284cbaf2127b (diff) |
New make system.
To build a configuration <conf> do
make <conf>
if <conf> doesn't exist you'll get a complaint
make by itself will list existing configurations, or run the setup
perl script if there are none.
make config will make a new configuration
make help should list all options
make tags will create a Vi style tags file
make TAGS will create an Emacs style TAGS file
make distclean will nuke your build directory.
When setting up a configuration the make system creates the following directories
$(CCTK_HOME)/build
$(CCTK_HOME)/build/$(config)
$(CCTK_HOME)/build/$(config)/config-data
$(CCTK_HOME)/build/$(config)/lib
$(CCTK_HOME)/build/$(config)/build
and runs autoconf in the config-data directory.
You then need to create a file
make.thornlist
containing one line of the form
THORNS=toolkit1/thorn1 toolkit3/thorn45 ...
in the config-data directory.
(This will be automatically created from ActiveThorns later.)
At that point you should be fine for making the system.
Note that it doesn't preprocess the files yet, nor in fact touch any of
the ccl scripts. This is coming to a make system near you soon...
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@62 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/make.code.defn')
-rw-r--r-- | src/make.code.defn | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/make.code.defn b/src/make.code.defn new file mode 100644 index 00000000..e5974870 --- /dev/null +++ b/src/make.code.defn @@ -0,0 +1,29 @@ +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 |