source: trunk/Makefile.Cbc @ 135

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

starting dynamic pseudo costs

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