Ignore:
Timestamp:
Jun 4, 2004, 4:16:24 PM (20 years ago)
Author:
lmdzadmin
Message:

Mea culpa, j'avais oublie le cas mercure. Merci Masa
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/create_make_gcm

    r524 r536  
    1616if [ "$machine" = "rhodes" ] ; then
    1717  XNEC=1
     18fi
     19X6NEC=0
     20if [ "$machine" = "mercure" ] ; then
     21  X6NEC=1
    1822fi
    1923VPP=0
     
    5458echo '# Les differentes librairies pour l"edition des liens:'
    5559echo
    56 if [ "$XNEC" = '1' ] ; then
     60if ( [ "$XNEC" = '1' ] || [ "$X6NEC" = '1' ] ) ; then
    5761  echo 'dyn3d      = $(LIBO)/libsxdyn3d.a $(LIBO)/libsx$(FILTRE).a'
    5862  echo 'dyn2d      = $(LIBO)/libsxdyn2d.a'
     
    173177         F90=0 ; egrep -i '^ *use ' $trufile > /dev/null 2>&1 && F90=1
    174178                 egrep -i '^ *module ' $trufile > /dev/null 2>&1 && F90=1
     179                 egrep -i '#include*.inc ' $trufile > /dev/null 2>&1 && F90=1
    175180         str1='$(LIBO)/lib'$diri'.a('$fili'.o) : $(LIBF)/'$diri/$trufile
    176181         [ "$fili" = "chem.subs" ] && str1=$str1' $(LIBF)/'$diri/chem.mods.F
     
    216221            fi
    217222         fi
    218          if [ "$XNEC" -eq '1' ] ; then
     223         if ( [ "$XNEC" -eq '1' ] || [ "$X6NEC" = '1' ] ) ; then
    219224           echo '       sxar r $(LIBO)/libsx'$diri'.a '$fili'.o ; \'
    220225         fi
Note: See TracChangeset for help on using the changeset viewer.