source: trunk/Makefile.Clp @ 170

Last change on this file since 170 was 170, checked in by forrest, 18 years ago

Forget to update include/ClpModel.hpp

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 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 := -O3
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 += ClpObjective.cpp
24LIBSRC += ClpLinearObjective.cpp
25LIBSRC += ClpPackedMatrix.cpp
26LIBSRC += ClpPlusMinusOneMatrix.cpp
27LIBSRC += ClpPrimalColumnDantzig.cpp
28LIBSRC += ClpPrimalColumnPivot.cpp
29LIBSRC += ClpPrimalColumnSteepest.cpp
30LIBSRC += ClpSimplex.cpp
31LIBSRC += ClpSimplexDual.cpp
32LIBSRC += ClpSimplexPrimal.cpp
33LIBSRC += ClpSimplexPrimalQuadratic.cpp
34#LIBSRC += ClpPrimalQuadraticDantzig.cpp
35# and Presolve stuff
36LIBSRC += Presolve.cpp
37LIBSRC += PresolveDoubleton.cpp
38LIBSRC += PresolveEmpty.cpp
39LIBSRC += PresolveFixed.cpp
40LIBSRC += PresolveMatrix.cpp
41LIBSRC += PresolvePsdebug.cpp
42LIBSRC += PresolveSingleton.cpp
43LIBSRC += PresolveZeros.cpp
44LIBSRC += PresolveDual.cpp                 
45LIBSRC += PresolveDupcol.cpp               
46LIBSRC += PresolveForcing.cpp               
47LIBSRC += PresolveImpliedFree.cpp           
48LIBSRC += PresolveIsolated.cpp     
49LIBSRC += PresolveSubst.cpp                 
50LIBSRC += PresolveTighten.cpp               
51LIBSRC += PresolveUseless.cpp             
52
53LIBSRC += Idiot.cpp
54LIBSRC += IdiSolve.cpp
55
56##############################################################################
57# You should not need to edit below this line.
58##############################################################################
59# The location of the customized Makefiles
60include ${MakefileDir}/Makefile.coin
61include ${MakefileDir}/Makefile.location
62
63# Say Idiot code can use Clp interface
64CXXFLAGS += -DCLP_IDIOT
65CXXFLAGS += -DUSE_PRESOLVE
66#CXXFLAGS += -DQUADRATIC
67ifeq ($(OptLevel),-g)
68#     CXXFLAGS += -DCLP_DEBUG
69#    CXXFLAGS += -DPRESOLVE_SUMMARY=1 -DDEBUG_PRESOLVE -DCHECK_CONSISTENCY=1
70endif
71ifeq ($(OptLevel),-O2)
72#     CXXFLAGS += -DNDEBUG
73#    CXXFLAGS += -DPRESOLVE_SUMMARY=1 -DDEBUG_PRESOLVE -DCHECK_CONSISTENCY=1
74endif
75
76export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
77export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
78export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
79export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
80
81export LibType OptLevel LIBNAME LIBSRC
82
83###############################################################################
84
85.DELETE_ON_ERROR:
86
87.PHONY: default install library
88
89default: install
90
91install library:
92        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.