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 /lib/make/make.config.defn.in | |
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 'lib/make/make.config.defn.in')
-rw-r--r-- | lib/make/make.config.defn.in | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/lib/make/make.config.defn.in b/lib/make/make.config.defn.in index 4aba0f38..e30303e2 100644 --- a/lib/make/make.config.defn.in +++ b/lib/make/make.config.defn.in @@ -1,3 +1,16 @@ +# /*@@ +# @file make.config.defn.in +# @date Sun Jan 17 22:33:51 1999 +# @author Tom Goodale +# @desc +# Make definition file for a configuration +# Defines the conpilers, etc. +# +# Should be run through autoconf to produce make.config.defn +# @enddesc +# @version $Id$ +# @@*/ + SHELL = @SHELL@ MKDIR = @MKDIR@ CC = @CC@ @@ -19,10 +32,13 @@ F77FLAGS = @F77FLAGS@ LDFLAGS = @LDFLAGS@ -TOOLKIT_DIR = $(TOP)/@TOOLKIT_DIR@ +ARFLAGS = @ARFLAGS@ + +# Where the CCTK puts things +TOOLKIT_DIR = $(CCTK_HOME)/@TOOLKIT_DIR@ BUILD_DIR = $(TOP)/@BUILD_DIR@ CCTK_LIBDIR = $(TOP)/@CCTK_LIBDIR@ +# The name of the executable EXE = @EXE@ -THORNS = testkit/test |