Index: LMDZ4/trunk/create_make_gcm
===================================================================
--- LMDZ4/trunk/create_make_gcm	(revision 1003)
+++ LMDZ4/trunk/create_make_gcm	(revision 1112)
@@ -185,4 +185,10 @@
          for stri in ` ( sed -n "/\#include/s/\#include//p" $trufile | sed 's/\"//g' ; egrep -i '^ *use ' $trufile | sed -e 's/,/ /' | awk ' { print $2 } ' ) `
          do
+
+
+# Differents cas de dependance correspondant a des include ou des
+# use module.
+# soit dans le repertoire local soit dans un autre.
+
             stri=`echo $stri | tr [A-Z] [a-z]`
             if [ -f $stri ] ; then
@@ -194,9 +200,13 @@
                   str1='$(LIBO)/lib'$diri'.a('$stri'.o)'
                else
-                  for dirinc in dyn3d grid bibio
+                  for dirinc in dyn3d grid bibio filtrez
                   do
                      if [ -f ../$dirinc/$stri ] ; then
                         echo $str1 \\
                         str1='$(LIBF)/'`cd .. ; ls */$stri | head -1`
+                     fi
+                     if [ -f ../$dirinc/$stri.F90 ] ; then
+                        echo $str1 \\
+                        str1='$(LIBO)/lib'$dirinc'.a('$stri'.o)'
                      fi
                   done
