diff --git a/Makefile b/Makefile
index 9caf08ca01b0312cecb4d492833435d8e3d9decc..7862ad9cc487fcbf5361a57ce738c0f236f75571 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.40 2001-01-17 21:26:24 remacle Exp $
+# $Id: Makefile,v 1.41 2001-01-17 21:49:25 remacle Exp $
 # ----------------------------------------------------------------------
 #  Makefile for Gmsh  
 # ----------------------------------------------------------------------
@@ -24,8 +24,8 @@ OPENGL_MOTIF_LIB = -lGLw
  MESA_STATIC_LIB = $(HOME)/SOURCES/Mesa-static/lib/libGLU.a\
                    $(HOME)/SOURCES/Mesa-static/lib/libGL.a
 MESA_MOTIF_STATIC_LIB = $(HOME)/SOURCES/Mesa-static/lib/libGLw.a
-#     XMOTIF_LIB = /usr/local/lib/libXm.so.2 -L/usr/X11R6/lib -lXt -lX11 -lXext
-      XMOTIF_LIB = -L/usr/local/lib -L/usr/X11R6/LessTif/Motif1.2/lib -lXm\
+     XMOTIF_LIB = /usr/local/lib/libXm.so.2 -L/usr/X11R6/lib -lXt -lX11 -lXext
+#      XMOTIF_LIB = -L/usr/local/lib -L/usr/X11R6/LessTif/Motif1.2/lib -lXm\
                    -L/usr/X11R6/lib -lXt -lX11 -lXext 
         FLTK_LIB = -L$(HOME)/SOURCES/fltk/lib -lfltk\
                    -L/usr/X11R6/lib -lXext -lX11
diff --git a/Mesh/Makefile b/Mesh/Makefile
index b057b13c7fb2f5c72d702ad40879437faa2323c3..2fdc8dab30d9b88ac966d9f9538094d33575c67a 100644
--- a/Mesh/Makefile
+++ b/Mesh/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.11 2001-01-17 21:26:24 remacle Exp $
+# $Id: Makefile,v 1.12 2001-01-17 21:49:25 remacle Exp $
 #
 # Makefile for "libMesh.a"
 #
@@ -48,7 +48,6 @@ SRC = 1D_Mesh.cpp \
       Generator.cpp \
       Print_Mesh.cpp \
       Read_Mesh.cpp \
-      SMS.cpp \
       STL.cpp \
       SwapEdge.cpp \
       Numeric.cpp \