source: branches/devel-1/Makefile @ 16

Last change on this file since 16 was 16, checked in by ladanyi, 17 years ago

New structure almost done

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