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.

253 lines
6.3 KiB

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