You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

251 lines
6.2 KiB

3 months ago
  1. ## Build GLPK with Microsoft Visual Studio Express ##
  2. CFLAGS = \
  3. /I. \
  4. /I..\src \
  5. /I..\src\amd \
  6. /I..\src\api \
  7. /I..\src\bflib \
  8. /I..\src\colamd \
  9. /I..\src\draft \
  10. /I..\src\env \
  11. /I..\src\intopt \
  12. /I..\src\minisat \
  13. /I..\src\misc \
  14. /I..\src\mpl \
  15. /I..\src\npp \
  16. /I..\src\proxy \
  17. /I..\src\simplex \
  18. /I..\src\zlib \
  19. /DHAVE_CONFIG_H=1 \
  20. /D_CRT_SECURE_NO_WARNINGS=1 \
  21. /nologo \
  22. /W3 \
  23. /O2 \
  24. /Zi
  25. OBJSET = \
  26. ..\src\amd\amd_1.obj \
  27. ..\src\amd\amd_2.obj \
  28. ..\src\amd\amd_aat.obj \
  29. ..\src\amd\amd_control.obj \
  30. ..\src\amd\amd_defaults.obj \
  31. ..\src\amd\amd_dump.obj \
  32. ..\src\amd\amd_info.obj \
  33. ..\src\amd\amd_order.obj \
  34. ..\src\amd\amd_post_tree.obj \
  35. ..\src\amd\amd_postorder.obj \
  36. ..\src\amd\amd_preprocess.obj \
  37. ..\src\amd\amd_valid.obj \
  38. ..\src\api\advbas.obj \
  39. ..\src\api\asnhall.obj \
  40. ..\src\api\asnlp.obj \
  41. ..\src\api\asnokalg.obj \
  42. ..\src\api\ckasn.obj \
  43. ..\src\api\ckcnf.obj \
  44. ..\src\api\cplex.obj \
  45. ..\src\api\cpp.obj \
  46. ..\src\api\cpxbas.obj \
  47. ..\src\api\graph.obj \
  48. ..\src\api\gridgen.obj \
  49. ..\src\api\intfeas1.obj \
  50. ..\src\api\maxffalg.obj \
  51. ..\src\api\maxflp.obj \
  52. ..\src\api\mcflp.obj \
  53. ..\src\api\mcfokalg.obj \
  54. ..\src\api\mcfrelax.obj \
  55. ..\src\api\minisat1.obj \
  56. ..\src\api\mpl.obj \
  57. ..\src\api\mps.obj \
  58. ..\src\api\netgen.obj \
  59. ..\src\api\npp.obj \
  60. ..\src\api\pript.obj \
  61. ..\src\api\prmip.obj \
  62. ..\src\api\prob1.obj \
  63. ..\src\api\prob2.obj \
  64. ..\src\api\prob3.obj \
  65. ..\src\api\prob4.obj \
  66. ..\src\api\prob5.obj \
  67. ..\src\api\prrngs.obj \
  68. ..\src\api\prsol.obj \
  69. ..\src\api\rdasn.obj \
  70. ..\src\api\rdcc.obj \
  71. ..\src\api\rdcnf.obj \
  72. ..\src\api\rdipt.obj \
  73. ..\src\api\rdmaxf.obj \
  74. ..\src\api\rdmcf.obj \
  75. ..\src\api\rdmip.obj \
  76. ..\src\api\rdprob.obj \
  77. ..\src\api\rdsol.obj \
  78. ..\src\api\rmfgen.obj \
  79. ..\src\api\strong.obj \
  80. ..\src\api\topsort.obj \
  81. ..\src\api\weak.obj \
  82. ..\src\api\wcliqex.obj \
  83. ..\src\api\wrasn.obj \
  84. ..\src\api\wrcc.obj \
  85. ..\src\api\wrcnf.obj \
  86. ..\src\api\wript.obj \
  87. ..\src\api\wrmaxf.obj \
  88. ..\src\api\wrmcf.obj \
  89. ..\src\api\wrmip.obj \
  90. ..\src\api\wrprob.obj \
  91. ..\src\api\wrsol.obj \
  92. ..\src\bflib\btf.obj \
  93. ..\src\bflib\btfint.obj \
  94. ..\src\bflib\fhv.obj \
  95. ..\src\bflib\fhvint.obj \
  96. ..\src\bflib\ifu.obj \
  97. ..\src\bflib\luf.obj \
  98. ..\src\bflib\lufint.obj \
  99. ..\src\bflib\scf.obj \
  100. ..\src\bflib\scfint.obj \
  101. ..\src\bflib\sgf.obj \
  102. ..\src\bflib\sva.obj \
  103. ..\src\colamd\colamd.obj \
  104. ..\src\draft\bfd.obj \
  105. ..\src\draft\bfx.obj \
  106. ..\src\draft\glpapi06.obj \
  107. ..\src\draft\glpapi07.obj \
  108. ..\src\draft\glpapi08.obj \
  109. ..\src\draft\glpapi09.obj \
  110. ..\src\draft\glpapi10.obj \
  111. ..\src\draft\glpapi12.obj \
  112. ..\src\draft\glpapi13.obj \
  113. ..\src\draft\glphbm.obj \
  114. ..\src\draft\glpios01.obj \
  115. ..\src\draft\glpios02.obj \
  116. ..\src\draft\glpios03.obj \
  117. ..\src\draft\glpios07.obj \
  118. ..\src\draft\glpios09.obj \
  119. ..\src\draft\glpios11.obj \
  120. ..\src\draft\glpios12.obj \
  121. ..\src\draft\glpipm.obj \
  122. ..\src\draft\glpmat.obj \
  123. ..\src\draft\glprgr.obj \
  124. ..\src\draft\glpscl.obj \
  125. ..\src\draft\glpspm.obj \
  126. ..\src\draft\glpssx01.obj \
  127. ..\src\draft\glpssx02.obj \
  128. ..\src\draft\lux.obj \
  129. ..\src\env\alloc.obj \
  130. ..\src\env\dlsup.obj \
  131. ..\src\env\env.obj \
  132. ..\src\env\error.obj \
  133. ..\src\env\stdc.obj \
  134. ..\src\env\stdout.obj \
  135. ..\src\env\stream.obj \
  136. ..\src\env\time.obj \
  137. ..\src\env\tls.obj \
  138. ..\src\intopt\cfg.obj \
  139. ..\src\intopt\cfg1.obj \
  140. ..\src\intopt\cfg2.obj \
  141. ..\src\intopt\clqcut.obj \
  142. ..\src\intopt\covgen.obj \
  143. ..\src\intopt\fpump.obj \
  144. ..\src\intopt\gmicut.obj \
  145. ..\src\intopt\gmigen.obj \
  146. ..\src\intopt\mirgen.obj \
  147. ..\src\intopt\spv.obj \
  148. ..\src\minisat\minisat.obj \
  149. ..\src\misc\avl.obj \
  150. ..\src\misc\bignum.obj \
  151. ..\src\misc\dimacs.obj \
  152. ..\src\misc\dmp.obj \
  153. ..\src\misc\ffalg.obj \
  154. ..\src\misc\fp2rat.obj \
  155. ..\src\misc\fvs.obj \
  156. ..\src\misc\gcd.obj \
  157. ..\src\misc\jd.obj \
  158. ..\src\misc\keller.obj \
  159. ..\src\misc\ks.obj \
  160. ..\src\misc\mc13d.obj \
  161. ..\src\misc\mc21a.obj \
  162. ..\src\misc\mt1.obj \
  163. ..\src\misc\mygmp.obj \
  164. ..\src\misc\okalg.obj \
  165. ..\src\misc\qmd.obj \
  166. ..\src\misc\relax4.obj \
  167. ..\src\misc\rng.obj \
  168. ..\src\misc\rng1.obj \
  169. ..\src\misc\round2n.obj \
  170. ..\src\misc\str2int.obj \
  171. ..\src\misc\str2num.obj \
  172. ..\src\misc\strspx.obj \
  173. ..\src\misc\strtrim.obj \
  174. ..\src\misc\triang.obj \
  175. ..\src\misc\wclique.obj \
  176. ..\src\misc\wclique1.obj \
  177. ..\src\mpl\mpl1.obj \
  178. ..\src\mpl\mpl2.obj \
  179. ..\src\mpl\mpl3.obj \
  180. ..\src\mpl\mpl4.obj \
  181. ..\src\mpl\mpl5.obj \
  182. ..\src\mpl\mpl6.obj \
  183. ..\src\mpl\mplsql.obj \
  184. ..\src\npp\npp1.obj \
  185. ..\src\npp\npp2.obj \
  186. ..\src\npp\npp3.obj \
  187. ..\src\npp\npp4.obj \
  188. ..\src\npp\npp5.obj \
  189. ..\src\npp\npp6.obj \
  190. ..\src\proxy\proxy.obj \
  191. ..\src\proxy\proxy1.obj \
  192. ..\src\simplex\spxat.obj \
  193. ..\src\simplex\spxchuzc.obj \
  194. ..\src\simplex\spxchuzr.obj \
  195. ..\src\simplex\spxlp.obj \
  196. ..\src\simplex\spxnt.obj \
  197. ..\src\simplex\spxprim.obj \
  198. ..\src\simplex\spxprob.obj \
  199. ..\src\simplex\spychuzc.obj \
  200. ..\src\simplex\spychuzr.obj \
  201. ..\src\simplex\spydual.obj \
  202. ..\src\zlib\adler32.obj \
  203. ..\src\zlib\compress.obj \
  204. ..\src\zlib\crc32.obj \
  205. ..\src\zlib\deflate.obj \
  206. ..\src\zlib\gzclose.obj \
  207. ..\src\zlib\gzlib.obj \
  208. ..\src\zlib\gzread.obj \
  209. ..\src\zlib\gzwrite.obj \
  210. ..\src\zlib\inffast.obj \
  211. ..\src\zlib\inflate.obj \
  212. ..\src\zlib\inftrees.obj \
  213. ..\src\zlib\trees.obj \
  214. ..\src\zlib\uncompr.obj \
  215. ..\src\zlib\zio.obj \
  216. ..\src\zlib\zutil.obj
  217. .c.obj:
  218. cl.exe $(CFLAGS) /Fo$*.obj /c $*.c
  219. all: glpk.lib glpsol.exe
  220. glpk.lib: $(OBJSET)
  221. lib.exe /out:glpk.lib \
  222. ..\src\*.obj \
  223. ..\src\amd\*.obj \
  224. ..\src\api\*.obj \
  225. ..\src\bflib\*.obj \
  226. ..\src\colamd\*.obj \
  227. ..\src\draft\*.obj \
  228. ..\src\env\*.obj \
  229. ..\src\intopt\*.obj \
  230. ..\src\minisat\*.obj \
  231. ..\src\misc\*.obj \
  232. ..\src\mpl\*.obj \
  233. ..\src\npp\*.obj \
  234. ..\src\proxy\*.obj \
  235. ..\src\simplex\*.obj \
  236. ..\src\zlib\*.obj
  237. glpsol.exe: ..\examples\glpsol.obj glpk.lib
  238. cl.exe $(CFLAGS) /Feglpsol.exe \
  239. ..\examples\glpsol.obj glpk.lib
  240. check: glpsol.exe
  241. .\glpsol.exe --version
  242. .\glpsol.exe --mps ..\examples\murtagh.mps --max
  243. ## eof ##