source: trunk/Makefile.Clp @ 109

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

To help OsiSimplexInterface?

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