From a6ac7097c3000ec6ca4559aae3771daddbf18e4d Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 14 Jan 2005 02:27:01 +0000
Subject: [PATCH] build solver examples with ${FLAGS}, so that on Windows they
 receive the -mwindows argument

---
 utils/solvers/c++/Makefile | 4 ++--
 utils/solvers/c/Makefile   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/utils/solvers/c++/Makefile b/utils/solvers/c++/Makefile
index 54f0ccd27c..aa1b85424a 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 c7140df271..74c06022eb 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
-- 
GitLab