source: tags/LIM1D_v3.20/MAKE/config_lim1d.sh @ 6

Last change on this file since 6 was 6, checked in by vancop, 8 years ago

initial import of v3.20 /Users/ioulianikolskaia/Boulot/CODES/LIM1D/ARCHIVE/TMP/LIM1D_v3.20/

File size: 1.2 KB
Line 
1#!/bin/sh
2set -xv
3LIMDIR="/Users/ioulianikolskaia/Boulot/CODES/LIM1D/2015_v3.20/SOURCES/source_3.20/"
4archfile=./gfortran_mac.inc
5KEY_LIM=""
6cppdefs="${KEY_LIM}"
7
8#---------------------------------------------------------------------
9# other flags
10#---------------------------------------------------------------------
11oflags=""
12exe=lim1d.x
13
14#---------------------------------------------------------------------
15#create source file lists and exit
16#---------------------------------------------------------------------
17if [ $1 == "SRC" ]; then
18   find ${LIMDIR} -name "*.[fF]" -print > LIM_SRC.lst
19   find ${LIMDIR} -name "*.com" -print >> LIM_SRC.lst
20exit 0
21fi
22
23#---------------------------------------------------------------------
24# get common blocks
25#---------------------------------------------------------------------
26cp ${LIMDIR}/*.com .
27
28#---------------------------------------------------------------------
29# make makefile                                                                                                   
30#---------------------------------------------------------------------
31./mkmf -c "${cppdefs}" -o "${oflags}" -t ${archfile} -p ${exe} LIM_SRC.lst
Note: See TracBrowser for help on using the repository browser.