source: branches/pre/Makefile.Clp @ 221

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

Still trying to go faster

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