Ignore:
Timestamp:
Jan 8, 2008, 6:36:03 PM (17 years ago)
Author:
lsce
Message:

bld.cfg : Added variable FPP(default cpp). It is now possible to change fortran preprocessor which should be done in machine/arch-XXX.fcm, see for example machine/arch-ES_MOON.fcm. Removed variable cc never used.

makegcm_fcm : added libprefix(default ""), needed at some plateforms, for ex libsxioipsl.a instead of libioipsl.a.

JG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/makegcm_fcm

    r842 r875  
    2626set parallel=false
    2727set io=ioipsl
     28set LIBPREFIX=""
    2829
    2930set LMDGCM=`/bin/pwd`
     
    178179    set INCLUDE="$INCLUDE -I${INCA_INCDIR}"
    179180    set LIB="$LIB -L${INCA_LIBDIR} -lchimie"
    180 
    181181endif
    182182
     
    194194   set CPP_KEY="$CPP_KEY CPP_VEGET"
    195195   set INCLUDE="${INCLUDE} -I${ORCH_INCDIR}"
    196    set LIB="${LIB} -L${ORCH_LIBDIR} -lsechiba -lparameters -lstomate -lparallel -lorglob"
     196   set LIB="${LIB} -L${ORCH_LIBDIR} -l${LIBPREFIX}sechiba -l${LIBPREFIX}parameters -l${LIBPREFIX}stomate -l${LIBPREFIX}parallel -l${LIBPREFIX}orglob"
    197197endif
    198198
     
    200200   set CPP_KEY="$CPP_KEY CPP_IOIPSL"
    201201   set INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    202    set LIB="$LIB -L${IOIPSL_LIBDIR} -lioipsl"
     202   set LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
    203203endif
    204204
Note: See TracChangeset for help on using the changeset viewer.