[ < ] [ > ]   [Contents] [Index] [ ? ]

5.1 Make variables

The ‘Makefile.miniker’ Makefile provided in the distribution should be included as it defines a lot of important variables and rules.

The following make variables can be set by the user:

miniker_dir

that variable should hold the Miniker sources directory. If you installed Miniker that variable should be set to ‘$(includedir)/mini_ker’. If you use the sources right from the sources directory it should be set to the sources package directory.

MTNDIRS

This variable can hold a ‘:’ delimited list of directories that will be searched for mortran include files.

CMFDIRS

This variable can hold a ‘:’ delimited list of directories that will be searched for cmz directive include files.

SEL

This variable holds a ‘,’ delimited list of select flags, for example monitor, grid1d, debug.

LDADD

This variable can be used to add libraries flags and files. It is used in the default linking command/rule.

miniker_user_objects

This variable should hold a space separated list of additional object files to be linked with the model and helper object files.

CAR2TXTFLAGS

cmz directives preprocessor flag.

kalman

This variable should be set to 1 if you want to use the kalman filter (see Kalman filter).

double

This variable should be set to 1 if you want to have a double precision code (see Double precision).

The following variables are allready set and may be used (some are set by ./configure see Configuration):

miniker_principal_objects

The list of object files needed for the model build, together with some helper object files often used but not strictly required for the linking.

DEPDIR

The name of a hidden directory containing the dependencies computed for the main mortran files.

F77
FC
FFLAGS
LDFLAGS

Compiler and linker related variables set by ./configure.

LIBS

This variable should hold the link flags and files required to build Miniker, set by ./configure.

CAR2TXT
MORTRAN
MTNFLAGS
MTNDEPEND

Preprocessor and preprocessor flags, set by ./configure.


[Contents] [Index] [ ? ]

This document was generated by a tester on a sunny day using texi2html.