diff --git a/utils/solvers/c++/Makefile b/utils/solvers/c++/Makefile
index 54f0ccd27cecc7adbafa4f1483f4aba891634c8f..aa1b85424afd7532f20a0b6364a7d9fb6a8d430d 100644
--- a/utils/solvers/c++/Makefile
+++ b/utils/solvers/c++/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 2005-01-13 20:36:54 geuzaine Exp $
+# $Id: Makefile,v 1.2 2005-01-14 02:27:01 geuzaine Exp $
 #
 # Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
 #
@@ -22,7 +22,7 @@
 include ../../../variables
 
 andre: andre.cpp
-	${CXX} ${OPTIM} -o andre.exe andre.cpp
+	${CXX} ${FLAGS} ${OPTIM} -o andre.exe andre.cpp
 
 clean:
 	rm -f *.o *.exe *.pos
diff --git a/utils/solvers/c/Makefile b/utils/solvers/c/Makefile
index c7140df2718e8c54bdc005f7b382679e015566b0..74c06022ebafba360b2021c71ff5ab470b72c2cd 100644
--- a/utils/solvers/c/Makefile
+++ b/utils/solvers/c/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 2005-01-13 20:36:54 geuzaine Exp $
+# $Id: Makefile,v 1.2 2005-01-14 02:27:00 geuzaine Exp $
 #
 # Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
 #
@@ -22,7 +22,7 @@
 include ../../../variables
 
 mysolver: mysolver.c GmshClient.c
-	${CXX} ${OPTIM} -o mysolver.exe mysolver.c GmshClient.c
+	${CXX} ${FLAGS} ${OPTIM} -o mysolver.exe mysolver.c GmshClient.c
 
 clean:
 	rm -f *.o *.exe *.pos