/[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 40 by guez, Tue Feb 22 13:49:36 2011 UTC revision 47 by guez, Fri Jul 1 15:00:48 2011 UTC
# Line 10  Line 10 
10  set -xe  set -xe
11    
12  compiler=gfortran  compiler=gfortran
13    ##compiler=nag_tools
14    
 ##dest_dir=~/Bureau/Compil_prod_$compiler  
15  dest_dir=/save/workdir_Lionel/LMDZ_work/LMDZE/Compil_prod_$compiler  dest_dir=/save/workdir_Lionel/LMDZ_work/LMDZE/Compil_prod_$compiler
16    ##dest_dir=~/Bureau/Compil_prod_$compiler
17    
18  # (Do not just use the name of the compiler as a directory name, it  # (Do not just use the name of the compiler as a directory name, it
19  # confuses some compilers.)  # confuses some compilers.)
20    
21  cp --update --verbose ../Compilers/$compiler.mk $dest_dir/compiler.mk  test -d $dest_dir
22  make -C $dest_dir -f $PWD/GNUmakefile $* libf_dir=$PWD  
23    if [[ ../Compilers/$compiler.mk -nt $dest_dir/compiler.mk ]]
24    then
25        cp --force ../Compilers/$compiler.mk $dest_dir/compiler.mk
26        chmod a-w $dest_dir/compiler.mk
27    fi
28    
29    make -C $dest_dir -f $PWD/GNUmakefile -I$PWD $* libf_dir=$PWD
30    # "-I" option for "nag_rules.mk"

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

  ViewVC Help
Powered by ViewVC 1.1.21