summaryrefslogtreecommitdiff
path: root/glpk-5.0/examples/threads/Makefile_VC
diff options
context:
space:
mode:
Diffstat (limited to 'glpk-5.0/examples/threads/Makefile_VC')
-rw-r--r--glpk-5.0/examples/threads/Makefile_VC26
1 files changed, 26 insertions, 0 deletions
diff --git a/glpk-5.0/examples/threads/Makefile_VC b/glpk-5.0/examples/threads/Makefile_VC
new file mode 100644
index 0000000..5bb8179
--- /dev/null
+++ b/glpk-5.0/examples/threads/Makefile_VC
@@ -0,0 +1,26 @@
+## Build multiseed example with Microsoft Visual Studio Express ##
+
+CFLAGS = \
+/I. \
+/I..\..\src \
+/I..\..\w64 \
+/DHAVE_CONFIG_H=1 \
+/D_CRT_SECURE_NO_WARNINGS=1 \
+/nologo \
+/W3 \
+/O2 \
+/Zi
+
+.c.obj:
+ cl.exe $(CFLAGS) /Fo$*.obj /c $*.c
+
+all: multiseed.exe
+
+multiseed.exe: multiseed.obj ..\..\w64\glpk_4_61.dll
+ cl.exe $(CFLAGS) /Fmultiseed.exe \
+ multiseed.obj ..\..\w64\glpk_4_61.lib
+
+check: multiseed.exe
+ .\multiseed.exe clustering.mod 20
+
+## eof ##