lemon-project-template-glpk
annotate deps/glpk/w64/makefile_VC_DLL @ 11:4fc6ad2fb8a6
Test GLPK in src/main.cc
author | Alpar Juttner <alpar@cs.elte.hu> |
---|---|
date | Sun, 06 Nov 2011 21:43:29 +0100 |
parents | |
children |
rev | line source |
---|---|
alpar@9 | 1 ## Build GLPK DLL with Microsoft Visual Studio Express ## |
alpar@9 | 2 |
alpar@9 | 3 CFLAGS = \ |
alpar@9 | 4 /I. \ |
alpar@9 | 5 /I..\src \ |
alpar@9 | 6 /I..\src\amd \ |
alpar@9 | 7 /I..\src\colamd \ |
alpar@9 | 8 /I..\src\minisat \ |
alpar@9 | 9 /I..\src\zlib \ |
alpar@9 | 10 /DHAVE_CONFIG_H=1 \ |
alpar@9 | 11 /D_CRT_SECURE_NO_WARNINGS=1 \ |
alpar@9 | 12 /nologo \ |
alpar@9 | 13 /W3 \ |
alpar@9 | 14 /O2 |
alpar@9 | 15 |
alpar@9 | 16 OBJSET = \ |
alpar@9 | 17 ..\src\glpapi01.obj \ |
alpar@9 | 18 ..\src\glpapi02.obj \ |
alpar@9 | 19 ..\src\glpapi03.obj \ |
alpar@9 | 20 ..\src\glpapi04.obj \ |
alpar@9 | 21 ..\src\glpapi05.obj \ |
alpar@9 | 22 ..\src\glpapi06.obj \ |
alpar@9 | 23 ..\src\glpapi07.obj \ |
alpar@9 | 24 ..\src\glpapi08.obj \ |
alpar@9 | 25 ..\src\glpapi09.obj \ |
alpar@9 | 26 ..\src\glpapi10.obj \ |
alpar@9 | 27 ..\src\glpapi11.obj \ |
alpar@9 | 28 ..\src\glpapi12.obj \ |
alpar@9 | 29 ..\src\glpapi13.obj \ |
alpar@9 | 30 ..\src\glpapi14.obj \ |
alpar@9 | 31 ..\src\glpapi15.obj \ |
alpar@9 | 32 ..\src\glpapi16.obj \ |
alpar@9 | 33 ..\src\glpapi17.obj \ |
alpar@9 | 34 ..\src\glpapi18.obj \ |
alpar@9 | 35 ..\src\glpapi19.obj \ |
alpar@9 | 36 ..\src\glpapi20.obj \ |
alpar@9 | 37 ..\src\glpapi21.obj \ |
alpar@9 | 38 ..\src\glpavl.obj \ |
alpar@9 | 39 ..\src\glpbfd.obj \ |
alpar@9 | 40 ..\src\glpbfx.obj \ |
alpar@9 | 41 ..\src\glpcpx.obj \ |
alpar@9 | 42 ..\src\glpdmp.obj \ |
alpar@9 | 43 ..\src\glpdmx.obj \ |
alpar@9 | 44 ..\src\glpenv01.obj \ |
alpar@9 | 45 ..\src\glpenv02.obj \ |
alpar@9 | 46 ..\src\glpenv03.obj \ |
alpar@9 | 47 ..\src\glpenv04.obj \ |
alpar@9 | 48 ..\src\glpenv05.obj \ |
alpar@9 | 49 ..\src\glpenv06.obj \ |
alpar@9 | 50 ..\src\glpenv07.obj \ |
alpar@9 | 51 ..\src\glpenv08.obj \ |
alpar@9 | 52 ..\src\glpfhv.obj \ |
alpar@9 | 53 ..\src\glpgmp.obj \ |
alpar@9 | 54 ..\src\glphbm.obj \ |
alpar@9 | 55 ..\src\glpini01.obj \ |
alpar@9 | 56 ..\src\glpini02.obj \ |
alpar@9 | 57 ..\src\glpios01.obj \ |
alpar@9 | 58 ..\src\glpios02.obj \ |
alpar@9 | 59 ..\src\glpios03.obj \ |
alpar@9 | 60 ..\src\glpios04.obj \ |
alpar@9 | 61 ..\src\glpios05.obj \ |
alpar@9 | 62 ..\src\glpios06.obj \ |
alpar@9 | 63 ..\src\glpios07.obj \ |
alpar@9 | 64 ..\src\glpios08.obj \ |
alpar@9 | 65 ..\src\glpios09.obj \ |
alpar@9 | 66 ..\src\glpios10.obj \ |
alpar@9 | 67 ..\src\glpios11.obj \ |
alpar@9 | 68 ..\src\glpios12.obj \ |
alpar@9 | 69 ..\src\glpipm.obj \ |
alpar@9 | 70 ..\src\glplib01.obj \ |
alpar@9 | 71 ..\src\glplib02.obj \ |
alpar@9 | 72 ..\src\glplib03.obj \ |
alpar@9 | 73 ..\src\glplpf.obj \ |
alpar@9 | 74 ..\src\glplpx01.obj \ |
alpar@9 | 75 ..\src\glplpx02.obj \ |
alpar@9 | 76 ..\src\glplpx03.obj \ |
alpar@9 | 77 ..\src\glpluf.obj \ |
alpar@9 | 78 ..\src\glplux.obj \ |
alpar@9 | 79 ..\src\glpmat.obj \ |
alpar@9 | 80 ..\src\glpmpl01.obj \ |
alpar@9 | 81 ..\src\glpmpl02.obj \ |
alpar@9 | 82 ..\src\glpmpl03.obj \ |
alpar@9 | 83 ..\src\glpmpl04.obj \ |
alpar@9 | 84 ..\src\glpmpl05.obj \ |
alpar@9 | 85 ..\src\glpmpl06.obj \ |
alpar@9 | 86 ..\src\glpmps.obj \ |
alpar@9 | 87 ..\src\glpnet01.obj \ |
alpar@9 | 88 ..\src\glpnet02.obj \ |
alpar@9 | 89 ..\src\glpnet03.obj \ |
alpar@9 | 90 ..\src\glpnet04.obj \ |
alpar@9 | 91 ..\src\glpnet05.obj \ |
alpar@9 | 92 ..\src\glpnet06.obj \ |
alpar@9 | 93 ..\src\glpnet07.obj \ |
alpar@9 | 94 ..\src\glpnet08.obj \ |
alpar@9 | 95 ..\src\glpnet09.obj \ |
alpar@9 | 96 ..\src\glpnpp01.obj \ |
alpar@9 | 97 ..\src\glpnpp02.obj \ |
alpar@9 | 98 ..\src\glpnpp03.obj \ |
alpar@9 | 99 ..\src\glpnpp04.obj \ |
alpar@9 | 100 ..\src\glpnpp05.obj \ |
alpar@9 | 101 ..\src\glpnpp06.obj \ |
alpar@9 | 102 ..\src\glpqmd.obj \ |
alpar@9 | 103 ..\src\glprgr.obj \ |
alpar@9 | 104 ..\src\glprng01.obj \ |
alpar@9 | 105 ..\src\glprng02.obj \ |
alpar@9 | 106 ..\src\glpscf.obj \ |
alpar@9 | 107 ..\src\glpscl.obj \ |
alpar@9 | 108 ..\src\glpsdf.obj \ |
alpar@9 | 109 ..\src\glpspm.obj \ |
alpar@9 | 110 ..\src\glpspx01.obj \ |
alpar@9 | 111 ..\src\glpspx02.obj \ |
alpar@9 | 112 ..\src\glpsql.obj \ |
alpar@9 | 113 ..\src\glpssx01.obj \ |
alpar@9 | 114 ..\src\glpssx02.obj \ |
alpar@9 | 115 ..\src\glptsp.obj \ |
alpar@9 | 116 ..\src\amd\amd_1.obj \ |
alpar@9 | 117 ..\src\amd\amd_2.obj \ |
alpar@9 | 118 ..\src\amd\amd_aat.obj \ |
alpar@9 | 119 ..\src\amd\amd_control.obj \ |
alpar@9 | 120 ..\src\amd\amd_defaults.obj \ |
alpar@9 | 121 ..\src\amd\amd_dump.obj \ |
alpar@9 | 122 ..\src\amd\amd_info.obj \ |
alpar@9 | 123 ..\src\amd\amd_order.obj \ |
alpar@9 | 124 ..\src\amd\amd_post_tree.obj \ |
alpar@9 | 125 ..\src\amd\amd_postorder.obj \ |
alpar@9 | 126 ..\src\amd\amd_preprocess.obj \ |
alpar@9 | 127 ..\src\amd\amd_valid.obj \ |
alpar@9 | 128 ..\src\colamd\colamd.obj \ |
alpar@9 | 129 ..\src\minisat\minisat.obj \ |
alpar@9 | 130 ..\src\zlib\adler32.obj \ |
alpar@9 | 131 ..\src\zlib\compress.obj \ |
alpar@9 | 132 ..\src\zlib\crc32.obj \ |
alpar@9 | 133 ..\src\zlib\deflate.obj \ |
alpar@9 | 134 ..\src\zlib\gzclose.obj \ |
alpar@9 | 135 ..\src\zlib\gzlib.obj \ |
alpar@9 | 136 ..\src\zlib\gzread.obj \ |
alpar@9 | 137 ..\src\zlib\gzwrite.obj \ |
alpar@9 | 138 ..\src\zlib\infback.obj \ |
alpar@9 | 139 ..\src\zlib\inffast.obj \ |
alpar@9 | 140 ..\src\zlib\inflate.obj \ |
alpar@9 | 141 ..\src\zlib\inftrees.obj \ |
alpar@9 | 142 ..\src\zlib\trees.obj \ |
alpar@9 | 143 ..\src\zlib\uncompr.obj \ |
alpar@9 | 144 ..\src\zlib\zio.obj \ |
alpar@9 | 145 ..\src\zlib\zutil.obj |
alpar@9 | 146 |
alpar@9 | 147 .c.obj: |
alpar@9 | 148 cl.exe $(CFLAGS) /Fo$*.obj /c $*.c |
alpar@9 | 149 |
alpar@9 | 150 all: glpk_4_47.dll glpsol.exe |
alpar@9 | 151 |
alpar@9 | 152 glpk_4_47.dll: $(OBJSET) |
alpar@9 | 153 cl.exe $(CFLAGS) /LD /Feglpk_4_47.dll \ |
alpar@9 | 154 ..\src\*.obj \ |
alpar@9 | 155 ..\src\amd\*.obj \ |
alpar@9 | 156 ..\src\colamd\*.obj \ |
alpar@9 | 157 ..\src\minisat\*.obj \ |
alpar@9 | 158 ..\src\zlib\*.obj \ |
alpar@9 | 159 glpk_4_47.def |
alpar@9 | 160 |
alpar@9 | 161 glpsol.exe: ..\examples\glpsol.obj glpk_4_47.dll |
alpar@9 | 162 cl.exe $(CFLAGS) /Feglpsol.exe \ |
alpar@9 | 163 ..\examples\glpsol.obj glpk_4_47.lib |
alpar@9 | 164 |
alpar@9 | 165 check: glpsol.exe |
alpar@9 | 166 .\glpsol.exe --version |
alpar@9 | 167 .\glpsol.exe --mps ..\examples\plan.mps |
alpar@9 | 168 |
alpar@9 | 169 ## eof ## |