source: branches/devel-1/Makefile.Clp @ 25

Last change on this file since 25 was 22, checked in by ladanyi, 18 years ago

Fixing further examples and Makefiles for devel-1

  • 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 := -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
33##############################################################################
34# You should not need to edit below this line.
35##############################################################################
36# The location of the customized Makefiles
37export CoinDir = $(shell cd ..; pwd)
38export MakefileDir := $(CoinDir)/Makefiles
39include ${MakefileDir}/Makefile.coin
40include ${MakefileDir}/Makefile.location
41
42export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
43export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
44export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
45export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
46
47export LibType OptLevel LIBNAME LIBSRC
48
49###############################################################################
50
51.DELETE_ON_ERROR:
52
53.PHONY: install library
54
55install library:
56        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.