satmake command
| GSI | Biophysics |

Syntax


UNIX:
satmake [[-]new | [-]old | [-]test] [-I<idir>] [-L<ldir>] [-l<llib>] [infile] 

others:
satmake [   new |    old |    test] [idir=<idir>]  [llib=<llib>] [infile] 

Purpose

Preprocesses (with the spp SATAN macro PreProcessor), compiles and links SATAN analysis programs.

Parameters

infile

Specifies the input file containg macros and/or C code, without filename extension. It must have the extension .spp.
If infile is omitted, a standard SATAN executable is created.

new old test

Selects SATAN version. Refers to installation directories pointed to by the environment variables $SATANNEW, $SATANOLD, $SATANTEST, respectively. If omitted, the production version (pointed to by $SATAN) is chosen.

idir

Specifies an include directory for the cc compiler.

ldir

Specifies a link library search directory for the ld linker.

llib

Specifies a link library for the ld linker.

Function

The specified input file <infile>.spp is first converted into a C file <infile>.c, then compiled and linked to the executable <infile>

Example

satmake ub
assumes the analysis source progam ub.spp and generates the analysis executable ub.
satmake -new -I../M -I../U bio9105
creates analysis program executable bio9105 for the new SATAN version. The user directories ../M and ../U are searched for header files at compile time.

Remark

This command is a bit verbose, just ignore the informatory output, but watch the real error messages.
| GSI | Biophysics |

Last updated: M.Kraemer@gsi.de, 7-Nov-2005