source: trunk/Makefile.Cbc @ 129

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

add CbcStrategy?

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