source: trunk/Makefile.Cbc @ 216

Last change on this file since 216 was 214, checked in by forrest, 15 years ago

if -O then -O1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 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 := -O1
8OptLevel := -g
9
10
11LIBNAME := Cbc
12LIBSRC :=
13LIBSRC += CbcModel.cpp
14LIBSRC += CbcNode.cpp
15LIBSRC += CbcTree.cpp
16LIBSRC += CbcTreeLocal.cpp
17LIBSRC += CbcCountRowCut.cpp
18LIBSRC += CbcMessage.cpp
19LIBSRC += CbcHeuristic.cpp
20LIBSRC += CbcHeuristicLocal.cpp
21LIBSRC += CbcHeuristicFPump.cpp
22LIBSRC += CbcHeuristicGreedy.cpp
23LIBSRC += CbcBranchBase.cpp
24LIBSRC += CbcBranchActual.cpp
25LIBSRC += CbcBranchDynamic.cpp
26LIBSRC += CbcBranchLotsize.cpp
27LIBSRC += CbcBranchCut.cpp
28LIBSRC += CbcFathom.cpp
29LIBSRC += CbcStrategy.cpp
30LIBSRC += CbcStatistics.cpp
31LIBSRC += CbcFathomDynamicProgramming.cpp
32LIBSRC += CbcCompareActual.cpp
33LIBSRC += CbcCutGenerator.cpp
34LIBSRC += Cbc_C_Interface.cpp
35
36##############################################################################
37# You should not need to edit below this line.
38##############################################################################
39# The location of the customized Makefiles
40include ${MakefileDir}/Makefile.coin
41include ${MakefileDir}/Makefile.location
42
43ifeq ($(OptLevel),-g)
44#   CXXFLAGS += -DCBC_DEBUG
45#   CXXFLAGS += -DCHECK_NODE
46#   CXXFLAGS += -DCHECK_CUT_COUNTS
47#   CXXFLAGS += -DCHECK_NODE_FULL
48#   CXXFLAGS += -lefence
49endif
50
51export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
52export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
53export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
54export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
55
56export LibType OptLevel LIBNAME LIBSRC
57
58###############################################################################
59
60.DELETE_ON_ERROR:
61
62.PHONY: default install library
63
64default: install
65
66install library:
67        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.