File: w32vc6d.mak

package info (click to toggle)
glpk 4.8-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,324 kB
  • ctags: 3,283
  • sloc: ansic: 34,984; sh: 322; makefile: 133
file content (90 lines) | stat: -rw-r--r-- 2,563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
## w32vc6d.mak (W32 multi-threaded dynamic library, VC++ 6.0) ##

##----------------------------------------------------------------------
## To build W32 multi-threaded dynamic library for GLPK with VC++ 6.0
## enter the subdirectory where the file you are reading is placed and
## type the command:
##
##    nmake.exe /f w32vc6d.mak
##
## The following three files will be created in the same subdirectory:
##
##    glpk48.dll, GLPK dynamic library,
##
##    glpk48.lib, GLPK import library, and
##
##    glpsol.exe, stand-alone LP/MIP solver.
##
## To check if GLPK has been successfully compiled type the command:
##
##    nmake.exe /f w32vc6d.mak check
##
## Header files needed to use the GLPK dynamic library are contained in
## the subdirectory 'include'.
##
## Written by Andrew Makhorin <mao@mai2.rcnet.ru>, <mao@gnu.org>.
##----------------------------------------------------------------------

CFLAGS = /nologo /W3 /MT

.c.obj:
        cl.exe $(CFLAGS) /Iinclude /Fo$*.obj /c $*.c

all: glpk48.dll glpsol.exe tspsol.exe

check: glpsol.exe
        glpsol.exe examples\plan.mps

glpk48.dll: src\glpavl.obj \
        src\glpdmp.obj \
        src\glpiet.obj \
        src\glpinv.obj \
        src\glpios1.obj \
        src\glpios2.obj \
        src\glpios3.obj \
        src\glpipm.obj \
        sysdep\w32\glplib1a.obj \
        sysdep\w32\glplib1b.obj \
        src\glplib2.obj \
        src\glplib3.obj \
        src\glplpp1.obj \
        src\glplpp2.obj \
        src\glplpx1.obj \
        src\glplpx2.obj \
        src\glplpx3.obj \
        src\glplpx4.obj \
        src\glplpx5.obj \
        src\glplpx6a.obj \
        src\glplpx6b.obj \
        src\glplpx6c.obj \
        src\glplpx6d.obj \
        src\glplpx7.obj \
        src\glplpx8a.obj \
        src\glplpx8b.obj \
        src\glplpx8c.obj \
        src\glplpx8d.obj \
        src\glplpx8e.obj \
        src\glpluf.obj \
        src\glpmat.obj \
        src\glpmip1.obj \
        src\glpmip2.obj \
        src\glpmpl1.obj \
        src\glpmpl2.obj \
        src\glpmpl3.obj \
        src\glpmpl4.obj \
        src\glpqmd.obj \
        src\glprng.obj \
        src\glpspx1.obj \
        src\glpspx2.obj \
        src\glpstr.obj \
        src\glptsp.obj
        cl.exe $(CFLAGS) /LD /Feglpk48.dll src\*.obj sysdep\w32\*.obj \
                w32vc6d.def

glpsol.exe: examples\glpsol.obj glpk48.dll
        cl.exe $(CFLAGS) /Feglpsol.exe examples\glpsol.obj glpk48.lib

tspsol.exe: examples\tspsol.obj glpk48.dll
        cl.exe $(CFLAGS) /Fetspsol.exe examples\tspsol.obj glpk48.lib

## eof ##