source: trunk/Makefile.Cbc @ 36

Last change on this file since 36 was 36, checked in by forrest, 17 years ago

start of CbcFathom? class

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