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

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

Presolve in as option

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 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
10
11LIBNAME := Clp
12LIBSRC :=
13LIBSRC += ClpDualRowDantzig.cpp
14LIBSRC += ClpDualRowPivot.cpp
15LIBSRC += ClpDualRowSteepest.cpp
16LIBSRC += ClpFactorization.cpp
17LIBSRC += ClpMatrixBase.cpp
18LIBSRC += ClpMessage.cpp
19LIBSRC += ClpModel.cpp
20LIBSRC += ClpNonLinearCost.cpp
21LIBSRC += ClpPackedMatrix.cpp
22LIBSRC += ClpPrimalColumnDantzig.cpp
23LIBSRC += ClpPrimalColumnPivot.cpp
24LIBSRC += ClpPrimalColumnSteepest.cpp
25LIBSRC += ClpSimplex.cpp
26LIBSRC += ClpSimplexDual.cpp
27LIBSRC += ClpSimplexPrimal.cpp
28# and Presolve stuff
29LIBSRC += Presolve.cpp
30LIBSRC += PresolveDoubleton.cpp
31LIBSRC += PresolveEmpty.cpp
32LIBSRC += PresolveFixed.cpp
33LIBSRC += PresolveMatrix.cpp
34LIBSRC += PresolvePsdebug.cpp
35LIBSRC += PresolveSingleton.cpp
36LIBSRC += PresolveZeros.cpp
37LIBSRC += PresolveDual.cpp                 
38LIBSRC += PresolveDupcol.cpp               
39LIBSRC += PresolveForcing.cpp               
40LIBSRC += PresolveImpliedFree.cpp           
41LIBSRC += PresolveIsolated.cpp     
42LIBSRC += PresolveSubst.cpp                 
43LIBSRC += PresolveTighten.cpp               
44LIBSRC += PresolveUseless.cpp             
45
46##############################################################################
47# You should not need to edit below this line.
48##############################################################################
49# The location of the customized Makefiles
50export CoinDir = $(shell cd ..; pwd)
51export MakefileDir := $(CoinDir)/Makefiles
52include ${MakefileDir}/Makefile.coin
53include ${MakefileDir}/Makefile.location
54
55CXXFLAGS += -DUSE_PRESOLVE
56ifeq ($(OptLevel),-g)
57     CXXFLAGS += -DCLP_DEBUG
58#    CXXFLAGS += -DPRESOLVE_SUMMARY=1 -DDEBUG_PRESOLVE
59endif
60
61export ExtraIncDir  := ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir}
62export ExtraLibDir  := ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir}
63export ExtraLibName := ${CoinLibName} ${zlibLibName} ${bzlibLibName}
64export ExtraDefine  := ${CoinDefine} ${zlibDefine} ${bzlibDefine}
65
66export LibType OptLevel LIBNAME LIBSRC
67
68###############################################################################
69
70.DELETE_ON_ERROR:
71
72.PHONY: install library
73
74install library:
75        $(MAKE) -f ${MakefileDir}/Makefile.lib $@
Note: See TracBrowser for help on using the repository browser.