source: trunk/Makefile @ 2

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

Adding Clp to development branch

  • 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
8# I seem to need this at present
9OPTFLAG := -O2
10#OptLevel := -g
11ifeq ($(OptLevel),-g)
12    CXXFLAGS += -DCLP_DEBUG
13endif
14
15LIBNAME := Clp
16LIBSRC :=
17LIBSRC += ClpDualRowDantzig.cpp
18LIBSRC += ClpDualRowPivot.cpp
19LIBSRC += ClpDualRowSteepest.cpp
20LIBSRC += ClpFactorization.cpp
21#LIBSRC += ClpMalloc.cpp
22LIBSRC += ClpMatrixBase.cpp
23LIBSRC += ClpMessage.cpp
24LIBSRC += ClpModel.cpp
25LIBSRC += ClpNonLinearCost.cpp
26LIBSRC += ClpPackedMatrix.cpp
27LIBSRC += ClpPrimalColumnDantzig.cpp
28LIBSRC += ClpPrimalColumnPivot.cpp
29LIBSRC += ClpPrimalColumnSteepest.cpp
30LIBSRC += ClpSimplex.cpp
31LIBSRC += ClpSimplexDual.cpp
32LIBSRC += ClpSimplexPrimal.cpp
33
34export CoinDir = $(shell cd ..; pwd)
35##############################################################################
36# You should not need to edit below this line.
37##############################################################################
38# The location of the customized Makefiles
39export MakefileDir := ../Common/make
40include ${MakefileDir}/Makefile.coin
41include ${MakefileDir}/Makefile.location
42#This modification seems to be needed
43export ExtraIncDir := ../Osi/include
44export ExtraLibDir := 
45export ExtraLibName :=
46export ExtraDefine := 
47
48export LibType OptLevel LIBNAME LIBSRC
49
50###############################################################################
51
52.DELETE_ON_ERROR:
53
54.PHONY: default install libClp library clean doc
55
56unitTest : install
57        (cd Test && ${MAKE} unitTest)
58
59default: install
60
61install clean doc library: % :
62        $(MAKE) -f ${MakefileDir}/Makefile.lib $*
63
64libClp:
65        $(MAKE) -f ${MakefileDir}/Makefile.lib library
Note: See TracBrowser for help on using the repository browser.