source: branches/pre/Makefile.Clp @ 215

Last change on this file since 215 was 215, checked in by forrest, 16 years ago

Second try at pdco

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 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
9#OptLevel := -O1
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 += ClpQuadraticObjective.cpp
31LIBSRC += ClpSimplex.cpp
32LIBSRC += ClpSimplexDual.cpp
33LIBSRC += ClpSimplexPrimal.cpp
34LIBSRC += ClpSimplexPrimalQuadratic.cpp
35LIBSRC += ClpSolve.cpp
36LIBSRC += ClpInterior.cpp
37LIBSRC += ClpPdco.cpp
38LIBSRC += ClpPdcoBase.cpp
39LIBSRC += ClpLsqr.cpp
40# and Presolve stuff
41LIBSRC += ClpPresolve.cpp
42
43LIBSRC += Idiot.cpp
44LIBSRC += IdiSolve.cpp
45
46##############################################################################
47# You should not need to edit below this line.
48##############################################################################
49# The location of the customized Makefiles
50include ${MakefileDir}/Makefile.coin
51include ${MakefileDir}/Makefile.location
52
53# Say Idiot code can use Clp interface
54CXXFLAGS += -DCLP_IDIOT
55CXXFLAGS += -DUSE_PRESOLVE
56#CXXFLAGS += -DCORRECT_COLUMN_COUNTS
57ifeq ($(OptLevel),-g)
58#     CXXFLAGS += -DCLP_DEBUG
59#CXXFLAGS += -DDEBUG_PRESOLVE
60endif
61ifeq ($(OptLevel),-O2)
62#     CXXFLAGS += -DNDEBUG
63endif
64
65export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
66export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
67export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
68export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
69
70export LibType OptLevel LIBNAME LIBSRC
71
72###############################################################################
73
74.DELETE_ON_ERROR:
75
76.PHONY: default install library
77
78default: install
79
80install library:
81        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.