w64/makefile_VC_DLL
author Alpar Juttner <alpar@cs.elte.hu>
Mon, 06 Dec 2010 13:09:21 +0100
changeset 1 c445c931472f
permissions -rw-r--r--
Import glpk-4.45

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