/[lmdze]/trunk/libf/make.sh
ViewVC logotype

Diff of /trunk/libf/make.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by guez, Wed Feb 27 13:16:39 2008 UTC revision 40 by guez, Tue Feb 22 13:49:36 2011 UTC
# Line 1  Line 1 
1  # This is a script in Bash.  # This is a script in Bash.
2    
3  # This script builds LMDZE. It is useful only to build into a  # This script allows to build LMDZE into a directory other than
4  # directory other than "libf". If you want to build into "libf", you  # "libf". If you just want to build into "libf" with the current
5  # can just invoke "make" directly.  # compiler file, you can invoke "make" directly.
6    
7  dest_dir=/home/guez/In_transit/LMDZE_work/Compil_prod  # Usage:
8  ##dest_dir=$workdir/LMDZE/Compil_prod  # make.sh [options and arguments for make]
9    
10  set -xe  set -xe
11  gmake -C $dest_dir -f $PWD/GNUmakefile -I$PWD $* libf_dir=$PWD  
12    compiler=gfortran
13    
14    ##dest_dir=~/Bureau/Compil_prod_$compiler
15    dest_dir=/save/workdir_Lionel/LMDZ_work/LMDZE/Compil_prod_$compiler
16    # (Do not just use the name of the compiler as a directory name, it
17    # confuses some compilers.)
18    
19    cp --update --verbose ../Compilers/$compiler.mk $dest_dir/compiler.mk
20    make -C $dest_dir -f $PWD/GNUmakefile $* libf_dir=$PWD

Legend:
Removed from v.3  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.21