From 60352b6791c0d8c7b54b37b5e905961d1010752a Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 28 Mar 2003 02:43:19 +0000
Subject: [PATCH] Add -DHAVE_FLTK when we do "make depend"

---
 Common/Makefile | 6 ++++--
 Makefile        | 4 ++--
 Parser/Makefile | 6 ++++--
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/Common/Makefile b/Common/Makefile
index c16059f465..3133dc2dde 100644
--- a/Common/Makefile
+++ b/Common/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.43 2003-03-21 00:52:35 geuzaine Exp $
+# $Id: Makefile,v 1.44 2003-03-28 02:43:19 geuzaine Exp $
 #
 # Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 #
@@ -72,7 +72,9 @@ Options.o: Options.cpp Gmsh.h Message.h ../DataStr/Malloc.h \
   GmshUI.h ../Geo/Geo.h ../Mesh/Mesh.h ../Mesh/Vertex.h ../Mesh/Simplex.h \
   ../Mesh/Edge.h ../Geo/ExtrudeParams.h ../Mesh/STL.h ../Mesh/Metric.h \
   ../Mesh/Matrix.h ../Graphics/Draw.h ../Common/Views.h \
-  ../Common/ColorTable.h Context.h Options.h
+  ../Common/ColorTable.h Context.h Options.h ../Fltk/Solvers.h \
+  ../Fltk/GUI.h ../Fltk/Opengl_Window.h ../Fltk/Colorbar_Window.h \
+  ../Common/GmshUI.h
 CommandLine.o: CommandLine.cpp Gmsh.h Message.h ../DataStr/Malloc.h \
   ../DataStr/List.h ../DataStr/Tree.h ../DataStr/avl.h ../DataStr/Tools.h \
   GmshUI.h GmshVersion.h CommandLine.h ../Numeric/Numeric.h Context.h \
diff --git a/Makefile b/Makefile
index bfe9273cbe..a8e59d270f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.278 2003-03-26 16:57:06 geuzaine Exp $
+# $Id: Makefile,v 1.279 2003-03-28 02:43:19 geuzaine Exp $
 #
 # Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 #
@@ -92,7 +92,7 @@ clean:
 	rm -f ${GMSH_VERSION_FILE}
 
 depend:
-	for i in ${GMSH_DIRS}; do (cd $$i && ${MAKE} depend "FLAGS=-DHAVE_GSL"); done
+	for i in ${GMSH_DIRS}; do (cd $$i && ${MAKE} depend "FLAGS=-DHAVE_GSL -DHAVE_FLTK"); done
 
 nodepend:
 	for i in ${GMSH_DIRS} ; do \
diff --git a/Parser/Makefile b/Parser/Makefile
index 44034bee53..60f88c5390 100644
--- a/Parser/Makefile
+++ b/Parser/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.48 2003-03-21 00:52:45 geuzaine Exp $
+# $Id: Makefile,v 1.49 2003-03-28 02:43:19 geuzaine Exp $
 #
 # Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 #
@@ -85,5 +85,7 @@ OpenFile.o: OpenFile.cpp ../Common/Gmsh.h ../Common/Message.h \
   ../Geo/Geo.h ../Mesh/Mesh.h ../Mesh/Vertex.h ../Mesh/Simplex.h \
   ../Mesh/Edge.h ../Geo/ExtrudeParams.h ../Mesh/STL.h ../Mesh/Metric.h \
   ../Mesh/Matrix.h ../Common/Views.h ../Common/ColorTable.h \
-  ../Geo/MinMax.h ../Graphics/Visibility.h ../Graphics/ReadImg.h
+  ../Geo/MinMax.h ../Graphics/Visibility.h ../Graphics/ReadImg.h \
+  ../Common/GmshUI.h ../Graphics/Draw.h ../Fltk/GUI.h \
+  ../Fltk/Opengl_Window.h ../Fltk/Colorbar_Window.h
 FunctionManager.o: FunctionManager.cpp FunctionManager.h
-- 
GitLab