source: tags/move-to-subversion/Makefile.Clp @ 753

Last change on this file since 753 was 714, checked in by forrest, 14 years ago

back to O1

  • 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#LibType := STATIC
4
5# Select optimization (-O or -g). -O will be automatically bumped up to the
6# highest level of optimization the compiler supports. If want something in
7# between then specify the exact level you want, e.g., -O1 or -O2
8OptLevel := -g
9OptLevel := -O1
10
11LIBNAME := Clp
12LIBSRC :=
13LIBSRC += ClpDualRowDantzig.cpp
14LIBSRC += ClpDualRowPivot.cpp
15LIBSRC += ClpDualRowSteepest.cpp
16LIBSRC += ClpEventHandler.cpp
17LIBSRC += ClpFactorization.cpp
18LIBSRC += ClpMatrixBase.cpp
19LIBSRC += ClpMessage.cpp
20LIBSRC += ClpModel.cpp
21LIBSRC += ClpNetworkBasis.cpp
22LIBSRC += ClpNetworkMatrix.cpp
23LIBSRC += ClpNonLinearCost.cpp
24LIBSRC += ClpObjective.cpp
25LIBSRC += ClpLinearObjective.cpp
26LIBSRC += ClpPackedMatrix.cpp
27LIBSRC += ClpPlusMinusOneMatrix.cpp
28LIBSRC += ClpDummyMatrix.cpp
29LIBSRC += ClpGubMatrix.cpp
30LIBSRC += ClpGubDynamicMatrix.cpp
31LIBSRC += ClpDynamicMatrix.cpp
32LIBSRC += ClpDynamicExampleMatrix.cpp
33LIBSRC += ClpPrimalColumnDantzig.cpp
34LIBSRC += ClpPrimalColumnPivot.cpp
35LIBSRC += ClpPrimalColumnSteepest.cpp
36LIBSRC += ClpQuadraticObjective.cpp
37LIBSRC += ClpSimplex.cpp
38LIBSRC += ClpSimplexDual.cpp
39LIBSRC += ClpSimplexOther.cpp
40LIBSRC += ClpSimplexPrimal.cpp
41LIBSRC += ClpSimplexNonlinear.cpp
42LIBSRC += ClpSolve.cpp
43LIBSRC += ClpInterior.cpp
44LIBSRC += ClpCholeskyBase.cpp
45LIBSRC += ClpCholeskyDense.cpp
46LIBSRC += ClpCholeskyUfl.cpp
47#LIBSRC += ClpCholeskyWssmp.cpp
48LIBSRC += ClpPredictorCorrector.cpp
49LIBSRC += ClpHelperFunctions.cpp
50LIBSRC += Clp_C_Interface.cpp
51# and Presolve stuff
52LIBSRC += ClpPresolve.cpp
53
54LIBSRC += Idiot.cpp
55LIBSRC += IdiSolve.cpp
56
57##############################################################################
58# You should not need to edit below this line.
59##############################################################################
60# The location of the customized Makefiles
61include ${MakefileDir}/Makefile.coin
62include ${MakefileDir}/Makefile.location
63
64# Say Idiot code can use Clp interface
65#CXXFLAGS += -DCLP_IDIOT
66#CXXFLAGS += -DUSE_PRESOLVE
67#CXXFLAGS += -DCORRECT_COLUMN_COUNTS
68ifeq ($(OptLevel),-g)
69#     CXXFLAGS += -DCLP_DEBUG
70#CXXFLAGS += -DPRESOLVE_DEBUG=1
71endif
72ifeq ($(OptLevel),-O2)
73#     CXXFLAGS += -DNDEBUG
74endif
75export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir} $(VolIncDir)
76export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir} $(VolLibDir)
77export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName} $(VolLibName)
78export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine} $(VolDefine)
79
80export LibType OptLevel LIBNAME LIBSRC
81
82###############################################################################
83
84.DELETE_ON_ERROR:
85
86.PHONY: default install library
87
88default: install
89
90install library:
91        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.