source: trunk/Makefile.Clp @ 118

Last change on this file since 118 was 118, checked in by forrest, 17 years ago

Adding Network matrix and PlusMinusOne?

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1# Static or shared libraries should be built (STATIC or SHARED)?
2LibType := SHARED
3
4# Select optimization (-O or -g). -O will be automatically bumped up to the
5# highest level of optimization the compiler supports. If want something in
6# between then specify the exact level you want, e.g., -O1 or -O2
7OptLevel := -g
8OptLevel := -O2
9
10
11LIBNAME := Clp
12LIBSRC :=
13LIBSRC += ClpDualRowDantzig.cpp
14LIBSRC += ClpDualRowPivot.cpp
15LIBSRC += ClpDualRowSteepest.cpp
16LIBSRC += ClpFactorization.cpp
17LIBSRC += ClpMatrixBase.cpp
18LIBSRC += ClpMessage.cpp
19LIBSRC += ClpModel.cpp
20LIBSRC += ClpNetworkBasis.cpp
21LIBSRC += ClpNetworkMatrix.cpp
22LIBSRC += ClpNonLinearCost.cpp
23LIBSRC += ClpPackedMatrix.cpp
24LIBSRC += ClpPlusMinusOneMatrix.cpp
25LIBSRC += ClpPrimalColumnDantzig.cpp
26LIBSRC += ClpPrimalColumnPivot.cpp
27LIBSRC += ClpPrimalColumnSteepest.cpp
28LIBSRC += ClpSimplex.cpp
29LIBSRC += ClpSimplexDual.cpp
30LIBSRC += ClpSimplexPrimal.cpp
31# and Presolve stuff
32LIBSRC += Presolve.cpp
33LIBSRC += PresolveDoubleton.cpp
34LIBSRC += PresolveEmpty.cpp
35LIBSRC += PresolveFixed.cpp
36LIBSRC += PresolveMatrix.cpp
37LIBSRC += PresolvePsdebug.cpp
38LIBSRC += PresolveSingleton.cpp
39LIBSRC += PresolveZeros.cpp
40LIBSRC += PresolveDual.cpp                 
41LIBSRC += PresolveDupcol.cpp               
42LIBSRC += PresolveForcing.cpp               
43LIBSRC += PresolveImpliedFree.cpp           
44LIBSRC += PresolveIsolated.cpp     
45LIBSRC += PresolveSubst.cpp                 
46LIBSRC += PresolveTighten.cpp               
47LIBSRC += PresolveUseless.cpp             
48
49LIBSRC += Idiot.cpp
50LIBSRC += IdiSolve.cpp
51
52##############################################################################
53# You should not need to edit below this line.
54##############################################################################
55# The location of the customized Makefiles
56include ${MakefileDir}/Makefile.coin
57include ${MakefileDir}/Makefile.location
58
59# Say Idiot code can use Clp interface
60CXXFLAGS += -DCLP_IDIOT
61CXXFLAGS += -DUSE_PRESOLVE
62ifeq ($(OptLevel),-g)
63#     CXXFLAGS += -DCLP_DEBUG
64#    CXXFLAGS += -DPRESOLVE_SUMMARY=1 -DDEBUG_PRESOLVE -DCHECK_CONSISTENCY=1
65endif
66ifeq ($(OptLevel),-O2)
67#     CXXFLAGS += -DNDEBUG
68#    CXXFLAGS += -DPRESOLVE_SUMMARY=1 -DDEBUG_PRESOLVE -DCHECK_CONSISTENCY=1
69endif
70
71export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
72export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
73export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
74export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
75
76export LibType OptLevel LIBNAME LIBSRC
77
78###############################################################################
79
80.DELETE_ON_ERROR:
81
82.PHONY: default install library
83
84default: install
85
86install library:
87        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.