source: trunk/Makefile.Cbc @ 247

Last change on this file since 247 was 247, checked in by forrest, 14 years ago

try again

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 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
50ifneq (,$(filter COIN_HAS_OSICLP, $(OsiClpDefine)))
51#  add in USE
52CXXFLAGS += $(addprefix -D,COIN_USE_CLP)
53endif
54
55export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
56export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
57export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
58export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
59
60export LibType OptLevel LIBNAME LIBSRC
61
62###############################################################################
63
64.DELETE_ON_ERROR:
65
66.PHONY: default install library
67
68default: install
69
70install library:
71        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.