source: branches/pre/Makefile.Clp @ 182

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

Finished for now

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
RevLine 
[50]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
[137]7OptLevel := -g
[131]8OptLevel := -O3
[50]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
[118]20LIBSRC += ClpNetworkBasis.cpp
21LIBSRC += ClpNetworkMatrix.cpp
[50]22LIBSRC += ClpNonLinearCost.cpp
[119]23LIBSRC += ClpObjective.cpp
24LIBSRC += ClpLinearObjective.cpp
[50]25LIBSRC += ClpPackedMatrix.cpp
[118]26LIBSRC += ClpPlusMinusOneMatrix.cpp
[50]27LIBSRC += ClpPrimalColumnDantzig.cpp
28LIBSRC += ClpPrimalColumnPivot.cpp
29LIBSRC += ClpPrimalColumnSteepest.cpp
30LIBSRC += ClpSimplex.cpp
31LIBSRC += ClpSimplexDual.cpp
32LIBSRC += ClpSimplexPrimal.cpp
[152]33LIBSRC += ClpSimplexPrimalQuadratic.cpp
[182]34LIBSRC += ClpPrimalQuadraticDantzig.cpp
[50]35# and Presolve stuff
[182]36LIBSRC += ClpPresolve.cpp
[50]37
[56]38LIBSRC += Idiot.cpp
39LIBSRC += IdiSolve.cpp
[50]40
41##############################################################################
42# You should not need to edit below this line.
43##############################################################################
44# The location of the customized Makefiles
45include ${MakefileDir}/Makefile.coin
46include ${MakefileDir}/Makefile.location
47
48# Say Idiot code can use Clp interface
[95]49CXXFLAGS += -DCLP_IDIOT
[50]50CXXFLAGS += -DUSE_PRESOLVE
51ifeq ($(OptLevel),-g)
52#     CXXFLAGS += -DCLP_DEBUG
53#    CXXFLAGS += -DPRESOLVE_SUMMARY=1 -DDEBUG_PRESOLVE -DCHECK_CONSISTENCY=1
54endif
[95]55ifeq ($(OptLevel),-O2)
56#     CXXFLAGS += -DNDEBUG
[109]57#    CXXFLAGS += -DPRESOLVE_SUMMARY=1 -DDEBUG_PRESOLVE -DCHECK_CONSISTENCY=1
[95]58endif
[50]59
60export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
61export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
62export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
63export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
64
65export LibType OptLevel LIBNAME LIBSRC
66
67###############################################################################
68
69.DELETE_ON_ERROR:
70
[82]71.PHONY: default install library
[50]72
[82]73default: install
74
[50]75install library:
76        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.