COIN-OR::LEMON - Graph Library

source: lemon-project-template-glpk/deps/glpk/w32/Makefile_VC

subpack-glpk
Last change on this file was 9:33de93886c88, checked in by Alpar Juttner <alpar@…>, 13 years ago

Import GLPK 4.47

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