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.

204 lines
4.6 KiB

  1. ## Build GLPK with Microsoft Visual Studio Express ##
  2. CFLAGS = \
  3. /I. \
  4. /I..\src \
  5. /I..\src\amd \
  6. /I..\src\bflib \
  7. /I..\src\cglib \
  8. /I..\src\colamd \
  9. /I..\src\env \
  10. /I..\src\minisat \
  11. /I..\src\misc \
  12. /I..\src\proxy \
  13. /I..\src\simplex \
  14. /I..\src\zlib \
  15. /DHAVE_CONFIG_H=1 \
  16. /D_CRT_SECURE_NO_WARNINGS=1 \
  17. /nologo \
  18. /W3 \
  19. /O2 \
  20. /Zi
  21. OBJSET = \
  22. ..\src\avl.obj \
  23. ..\src\bfd.obj \
  24. ..\src\bfx.obj \
  25. ..\src\glpapi01.obj \
  26. ..\src\glpapi02.obj \
  27. ..\src\glpapi03.obj \
  28. ..\src\glpapi04.obj \
  29. ..\src\glpapi05.obj \
  30. ..\src\glpapi06.obj \
  31. ..\src\glpapi07.obj \
  32. ..\src\glpapi08.obj \
  33. ..\src\glpapi09.obj \
  34. ..\src\glpapi10.obj \
  35. ..\src\glpapi11.obj \
  36. ..\src\glpapi12.obj \
  37. ..\src\glpapi13.obj \
  38. ..\src\glpapi14.obj \
  39. ..\src\glpapi15.obj \
  40. ..\src\glpapi16.obj \
  41. ..\src\glpapi17.obj \
  42. ..\src\glpapi18.obj \
  43. ..\src\glpapi19.obj \
  44. ..\src\glpapi20.obj \
  45. ..\src\glpapi21.obj \
  46. ..\src\glpcpx.obj \
  47. ..\src\glpdmx.obj \
  48. ..\src\glpgmp.obj \
  49. ..\src\glphbm.obj \
  50. ..\src\glpini01.obj \
  51. ..\src\glpini02.obj \
  52. ..\src\glpios01.obj \
  53. ..\src\glpios02.obj \
  54. ..\src\glpios03.obj \
  55. ..\src\glpios04.obj \
  56. ..\src\glpios05.obj \
  57. ..\src\glpios06.obj \
  58. ..\src\glpios07.obj \
  59. ..\src\glpios08.obj \
  60. ..\src\glpios09.obj \
  61. ..\src\glpios10.obj \
  62. ..\src\glpios11.obj \
  63. ..\src\glpios12.obj \
  64. ..\src\glpipm.obj \
  65. ..\src\glpmat.obj \
  66. ..\src\glpmpl01.obj \
  67. ..\src\glpmpl02.obj \
  68. ..\src\glpmpl03.obj \
  69. ..\src\glpmpl04.obj \
  70. ..\src\glpmpl05.obj \
  71. ..\src\glpmpl06.obj \
  72. ..\src\glpmps.obj \
  73. ..\src\glpnet03.obj \
  74. ..\src\glpnet04.obj \
  75. ..\src\glpnet05.obj \
  76. ..\src\glpnpp01.obj \
  77. ..\src\glpnpp02.obj \
  78. ..\src\glpnpp03.obj \
  79. ..\src\glpnpp04.obj \
  80. ..\src\glpnpp05.obj \
  81. ..\src\glpnpp06.obj \
  82. ..\src\glprgr.obj \
  83. ..\src\glpscl.obj \
  84. ..\src\glpsdf.obj \
  85. ..\src\glpspm.obj \
  86. ..\src\glpsql.obj \
  87. ..\src\glpssx01.obj \
  88. ..\src\glpssx02.obj \
  89. ..\src\lux.obj \
  90. ..\src\amd\amd_1.obj \
  91. ..\src\amd\amd_2.obj \
  92. ..\src\amd\amd_aat.obj \
  93. ..\src\amd\amd_control.obj \
  94. ..\src\amd\amd_defaults.obj \
  95. ..\src\amd\amd_dump.obj \
  96. ..\src\amd\amd_info.obj \
  97. ..\src\amd\amd_order.obj \
  98. ..\src\amd\amd_post_tree.obj \
  99. ..\src\amd\amd_postorder.obj \
  100. ..\src\amd\amd_preprocess.obj \
  101. ..\src\amd\amd_valid.obj \
  102. ..\src\bflib\btf.obj \
  103. ..\src\bflib\btfint.obj \
  104. ..\src\bflib\fhv.obj \
  105. ..\src\bflib\fhvint.obj \
  106. ..\src\bflib\ifu.obj \
  107. ..\src\bflib\luf.obj \
  108. ..\src\bflib\lufint.obj \
  109. ..\src\bflib\scf.obj \
  110. ..\src\bflib\scfint.obj \
  111. ..\src\bflib\sgf.obj \
  112. ..\src\bflib\sva.obj \
  113. ..\src\cglib\cfg.obj \
  114. ..\src\cglib\cfg1.obj \
  115. ..\src\colamd\colamd.obj \
  116. ..\src\env\alloc.obj \
  117. ..\src\env\dlsup.obj \
  118. ..\src\env\env.obj \
  119. ..\src\env\error.obj \
  120. ..\src\env\stdout.obj \
  121. ..\src\env\stream.obj \
  122. ..\src\env\time.obj \
  123. ..\src\env\tls.obj \
  124. ..\src\minisat\minisat.obj \
  125. ..\src\misc\bignum.obj \
  126. ..\src\misc\dmp.obj \
  127. ..\src\misc\ffalg.obj \
  128. ..\src\misc\fp2rat.obj \
  129. ..\src\misc\gcd.obj \
  130. ..\src\misc\jd.obj \
  131. ..\src\misc\keller.obj \
  132. ..\src\misc\mc13d.obj \
  133. ..\src\misc\mc21a.obj \
  134. ..\src\misc\okalg.obj \
  135. ..\src\misc\qmd.obj \
  136. ..\src\misc\relax4.obj \
  137. ..\src\misc\rng.obj \
  138. ..\src\misc\rng1.obj \
  139. ..\src\misc\round2n.obj \
  140. ..\src\misc\str2int.obj \
  141. ..\src\misc\str2num.obj \
  142. ..\src\misc\strspx.obj \
  143. ..\src\misc\strtrim.obj \
  144. ..\src\misc\triang.obj \
  145. ..\src\misc\wclique.obj \
  146. ..\src\misc\wclique1.obj \
  147. ..\src\proxy\proxy.obj \
  148. ..\src\proxy\proxy1.obj \
  149. ..\src\simplex\spxat.obj \
  150. ..\src\simplex\spxchuzc.obj \
  151. ..\src\simplex\spxchuzr.obj \
  152. ..\src\simplex\spxlp.obj \
  153. ..\src\simplex\spxnt.obj \
  154. ..\src\simplex\spxprim.obj \
  155. ..\src\simplex\spxprob.obj \
  156. ..\src\simplex\spychuzc.obj \
  157. ..\src\simplex\spychuzr.obj \
  158. ..\src\simplex\spydual.obj \
  159. ..\src\zlib\adler32.obj \
  160. ..\src\zlib\compress.obj \
  161. ..\src\zlib\crc32.obj \
  162. ..\src\zlib\deflate.obj \
  163. ..\src\zlib\gzclose.obj \
  164. ..\src\zlib\gzlib.obj \
  165. ..\src\zlib\gzread.obj \
  166. ..\src\zlib\gzwrite.obj \
  167. ..\src\zlib\inffast.obj \
  168. ..\src\zlib\inflate.obj \
  169. ..\src\zlib\inftrees.obj \
  170. ..\src\zlib\trees.obj \
  171. ..\src\zlib\uncompr.obj \
  172. ..\src\zlib\zio.obj \
  173. ..\src\zlib\zutil.obj
  174. .c.obj:
  175. cl.exe $(CFLAGS) /Fo$*.obj /c $*.c
  176. all: glpk.lib glpsol.exe
  177. glpk.lib: $(OBJSET)
  178. lib.exe /out:glpk.lib \
  179. ..\src\*.obj \
  180. ..\src\amd\*.obj \
  181. ..\src\bflib\*.obj \
  182. ..\src\cglib\*.obj \
  183. ..\src\colamd\*.obj \
  184. ..\src\env\*.obj \
  185. ..\src\minisat\*.obj \
  186. ..\src\misc\*.obj \
  187. ..\src\proxy\*.obj \
  188. ..\src\simplex\*.obj \
  189. ..\src\zlib\*.obj
  190. glpsol.exe: ..\examples\glpsol.obj glpk.lib
  191. cl.exe $(CFLAGS) /Feglpsol.exe \
  192. ..\examples\glpsol.obj glpk.lib
  193. check: glpsol.exe
  194. .\glpsol.exe --version
  195. .\glpsol.exe --mps ..\examples\plan.mps
  196. ## eof ##