source: branches/devel-1/Makefile @ 21

Last change on this file since 21 was 21, checked in by forrest, 18 years ago

Check matrix more carefully

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 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 := -g
8OptLevel := -O2
9
10ifeq ($(OptLevel),-g)
11    CXXFLAGS += -DCLP_DEBUG
12endif
13
14LIBNAME := Clp
15LIBSRC :=
16LIBSRC += ClpDualRowDantzig.cpp
17LIBSRC += ClpDualRowPivot.cpp
18LIBSRC += ClpDualRowSteepest.cpp
19LIBSRC += ClpFactorization.cpp
20#LIBSRC += ClpMalloc.cpp
21LIBSRC += ClpMatrixBase.cpp
22LIBSRC += ClpMessage.cpp
23LIBSRC += ClpModel.cpp
24LIBSRC += ClpNonLinearCost.cpp
25LIBSRC += ClpPackedMatrix.cpp
26LIBSRC += ClpPrimalColumnDantzig.cpp
27LIBSRC += ClpPrimalColumnPivot.cpp
28LIBSRC += ClpPrimalColumnSteepest.cpp
29LIBSRC += ClpSimplex.cpp
30LIBSRC += ClpSimplexDual.cpp
31LIBSRC += ClpSimplexPrimal.cpp
32
33export CoinDir = $(shell cd ..; pwd)
34##############################################################################
35# You should not need to edit below this line.
36##############################################################################
37# The location of the customized Makefiles
38export CoinDir = $(shell cd ..; pwd)
39export MakefileDir := $(CoinDir)/Makefiles
40include ${MakefileDir}/Makefile.coin
41include ${MakefileDir}/Makefile.location
42
43export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
44export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
45export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
46export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
47
48export LibType OptLevel LIBNAME LIBSRC
49
50###############################################################################
51
52.DELETE_ON_ERROR:
53
54.PHONY: default install libClp library clean doc
55
56default: install
57
58unitTest : install
59        (cd Test && ${MAKE} unitTest)
60
61install clean doc: % :
62        $(MAKE) -f ${MakefileDir}/Makefile.lib $*
63
64libClp:
65        (cd $(CoinDir)/Coin && $(MAKE))
66        $(MAKE) -f ${MakefileDir}/Makefile.lib library
Note: See TracBrowser for help on using the repository browser.