source: trunk/Makefile.Cbc @ 151

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

forgot Makefile

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