author | Alpar Juttner <alpar@cs.elte.hu> |
Sun, 05 Dec 2010 17:35:23 +0100 | |
changeset 2 | 4c8956a7bdf4 |
permissions | -rw-r--r-- |
alpar@1 | 1 |
# Build GLPK with Microsoft Visual Studio Express |
alpar@1 | 2 |
|
alpar@1 | 3 |
CFLAGS = /I. /I..\include /I..\src /I..\src\amd /I..\src\colamd \ |
alpar@1 | 4 |
/DHAVE_CONFIG_H /D_CRT_SECURE_NO_WARNINGS /nologo /W3 /O2 |
alpar@1 | 5 |
|
alpar@1 | 6 |
OBJSET = \ |
alpar@1 | 7 |
..\src\glpapi01.obj \ |
alpar@1 | 8 |
..\src\glpapi02.obj \ |
alpar@1 | 9 |
..\src\glpapi03.obj \ |
alpar@1 | 10 |
..\src\glpapi04.obj \ |
alpar@1 | 11 |
..\src\glpapi05.obj \ |
alpar@1 | 12 |
..\src\glpapi06.obj \ |
alpar@1 | 13 |
..\src\glpapi07.obj \ |
alpar@1 | 14 |
..\src\glpapi08.obj \ |
alpar@1 | 15 |
..\src\glpapi09.obj \ |
alpar@1 | 16 |
..\src\glpapi10.obj \ |
alpar@1 | 17 |
..\src\glpapi11.obj \ |
alpar@1 | 18 |
..\src\glpapi12.obj \ |
alpar@1 | 19 |
..\src\glpapi13.obj \ |
alpar@1 | 20 |
..\src\glpapi14.obj \ |
alpar@1 | 21 |
..\src\glpapi15.obj \ |
alpar@1 | 22 |
..\src\glpapi16.obj \ |
alpar@1 | 23 |
..\src\glpapi17.obj \ |
alpar@1 | 24 |
..\src\glpapi18.obj \ |
alpar@1 | 25 |
..\src\glpapi19.obj \ |
alpar@1 | 26 |
..\src\glpavl.obj \ |
alpar@1 | 27 |
..\src\glpbfd.obj \ |
alpar@1 | 28 |
..\src\glpbfx.obj \ |
alpar@1 | 29 |
..\src\glpcpx.obj \ |
alpar@1 | 30 |
..\src\glpdmp.obj \ |
alpar@1 | 31 |
..\src\glpdmx.obj \ |
alpar@1 | 32 |
..\src\glpenv01.obj \ |
alpar@1 | 33 |
..\src\glpenv02.obj \ |
alpar@1 | 34 |
..\src\glpenv03.obj \ |
alpar@1 | 35 |
..\src\glpenv04.obj \ |
alpar@1 | 36 |
..\src\glpenv05.obj \ |
alpar@1 | 37 |
..\src\glpenv06.obj \ |
alpar@1 | 38 |
..\src\glpenv07.obj \ |
alpar@1 | 39 |
..\src\glpenv08.obj \ |
alpar@1 | 40 |
..\src\glpfhv.obj \ |
alpar@1 | 41 |
..\src\glpgmp.obj \ |
alpar@1 | 42 |
..\src\glphbm.obj \ |
alpar@1 | 43 |
..\src\glpini01.obj \ |
alpar@1 | 44 |
..\src\glpini02.obj \ |
alpar@1 | 45 |
..\src\glpios01.obj \ |
alpar@1 | 46 |
..\src\glpios02.obj \ |
alpar@1 | 47 |
..\src\glpios03.obj \ |
alpar@1 | 48 |
..\src\glpios04.obj \ |
alpar@1 | 49 |
..\src\glpios05.obj \ |
alpar@1 | 50 |
..\src\glpios06.obj \ |
alpar@1 | 51 |
..\src\glpios07.obj \ |
alpar@1 | 52 |
..\src\glpios08.obj \ |
alpar@1 | 53 |
..\src\glpios09.obj \ |
alpar@1 | 54 |
..\src\glpios10.obj \ |
alpar@1 | 55 |
..\src\glpios11.obj \ |
alpar@1 | 56 |
..\src\glpios12.obj \ |
alpar@1 | 57 |
..\src\glpipm.obj \ |
alpar@1 | 58 |
..\src\glplib01.obj \ |
alpar@1 | 59 |
..\src\glplib02.obj \ |
alpar@1 | 60 |
..\src\glplib03.obj \ |
alpar@1 | 61 |
..\src\glplpf.obj \ |
alpar@1 | 62 |
..\src\glplpx01.obj \ |
alpar@1 | 63 |
..\src\glplpx02.obj \ |
alpar@1 | 64 |
..\src\glplpx03.obj \ |
alpar@1 | 65 |
..\src\glpluf.obj \ |
alpar@1 | 66 |
..\src\glplux.obj \ |
alpar@1 | 67 |
..\src\glpmat.obj \ |
alpar@1 | 68 |
..\src\glpmpl01.obj \ |
alpar@1 | 69 |
..\src\glpmpl02.obj \ |
alpar@1 | 70 |
..\src\glpmpl03.obj \ |
alpar@1 | 71 |
..\src\glpmpl04.obj \ |
alpar@1 | 72 |
..\src\glpmpl05.obj \ |
alpar@1 | 73 |
..\src\glpmpl06.obj \ |
alpar@1 | 74 |
..\src\glpmps.obj \ |
alpar@1 | 75 |
..\src\glpnet01.obj \ |
alpar@1 | 76 |
..\src\glpnet02.obj \ |
alpar@1 | 77 |
..\src\glpnet03.obj \ |
alpar@1 | 78 |
..\src\glpnet04.obj \ |
alpar@1 | 79 |
..\src\glpnet05.obj \ |
alpar@1 | 80 |
..\src\glpnet06.obj \ |
alpar@1 | 81 |
..\src\glpnet07.obj \ |
alpar@1 | 82 |
..\src\glpnet08.obj \ |
alpar@1 | 83 |
..\src\glpnet09.obj \ |
alpar@1 | 84 |
..\src\glpnpp01.obj \ |
alpar@1 | 85 |
..\src\glpnpp02.obj \ |
alpar@1 | 86 |
..\src\glpnpp03.obj \ |
alpar@1 | 87 |
..\src\glpnpp04.obj \ |
alpar@1 | 88 |
..\src\glpnpp05.obj \ |
alpar@1 | 89 |
..\src\glpqmd.obj \ |
alpar@1 | 90 |
..\src\glprgr.obj \ |
alpar@1 | 91 |
..\src\glprng01.obj \ |
alpar@1 | 92 |
..\src\glprng02.obj \ |
alpar@1 | 93 |
..\src\glpscf.obj \ |
alpar@1 | 94 |
..\src\glpscl.obj \ |
alpar@1 | 95 |
..\src\glpsdf.obj \ |
alpar@1 | 96 |
..\src\glpspm.obj \ |
alpar@1 | 97 |
..\src\glpspx01.obj \ |
alpar@1 | 98 |
..\src\glpspx02.obj \ |
alpar@1 | 99 |
..\src\glpsql.obj \ |
alpar@1 | 100 |
..\src\glpssx01.obj \ |
alpar@1 | 101 |
..\src\glpssx02.obj \ |
alpar@1 | 102 |
..\src\glptsp.obj \ |
alpar@1 | 103 |
..\src\amd\amd_1.obj \ |
alpar@1 | 104 |
..\src\amd\amd_2.obj \ |
alpar@1 | 105 |
..\src\amd\amd_aat.obj \ |
alpar@1 | 106 |
..\src\amd\amd_control.obj \ |
alpar@1 | 107 |
..\src\amd\amd_defaults.obj \ |
alpar@1 | 108 |
..\src\amd\amd_dump.obj \ |
alpar@1 | 109 |
..\src\amd\amd_info.obj \ |
alpar@1 | 110 |
..\src\amd\amd_order.obj \ |
alpar@1 | 111 |
..\src\amd\amd_post_tree.obj \ |
alpar@1 | 112 |
..\src\amd\amd_postorder.obj \ |
alpar@1 | 113 |
..\src\amd\amd_preprocess.obj \ |
alpar@1 | 114 |
..\src\amd\amd_valid.obj \ |
alpar@1 | 115 |
..\src\colamd\colamd.obj |
alpar@1 | 116 |
|
alpar@1 | 117 |
.c.obj: |
alpar@1 | 118 |
cl.exe $(CFLAGS) /Fo$*.obj /c $*.c |
alpar@1 | 119 |
|
alpar@1 | 120 |
all: glpk.lib glpsol.exe |
alpar@1 | 121 |
|
alpar@1 | 122 |
glpk.lib: $(OBJSET) |
alpar@1 | 123 |
lib.exe /out:glpk.lib ..\src\*.obj ..\src\amd\*.obj \ |
alpar@1 | 124 |
..\src\colamd\*.obj |
alpar@1 | 125 |
|
alpar@1 | 126 |
glpsol.exe: ..\examples\glpsol.obj glpk.lib |
alpar@1 | 127 |
cl.exe $(CFLAGS) /Feglpsol.exe ..\examples\glpsol.obj \ |
alpar@1 | 128 |
glpk.lib |
alpar@1 | 129 |
|
alpar@1 | 130 |
check: glpsol.exe |
alpar@1 | 131 |
.\glpsol.exe --version |
alpar@1 | 132 |
.\glpsol.exe --mps ..\examples\plan.mps |