https://github.com/legraina/DynamicNurseScheduler
Raw File
Tip revision: ea91a6d23345cc64d4a282b36c776d62ce5d6fd3 authored by legraina on 25 September 2018, 17:25:12 UTC
Fix stringstream issue.
Tip revision: ea91a6d
make.bcp
# Copyright (C) 2006 International Business Machines and others.
# All Rights Reserved.
# This file is distributed under the Eclipse Public License.

# $Id: Makefile.in 726 2006-04-17 04:16:00Z andreasw $

##########################################################################
#  Usually, you don't have to change anything below.  Note that if you   #
#  change certain compiler options, you might have to recompile the      #
#  COIN package.                                                         #
##########################################################################

COIN_HAS_PKGCONFIG = TRUE
COIN_CXX_IS_CL = #TRUE
COIN_HAS_SAMPLE = #TRUE
COIN_HAS_NETLIB = #TRUE

# C++ Compiler options
CXXFLAGS += -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long   -DCLP_BUILD

# additional C++ Compiler options for linking
LINKCXX +=  -Wl,--rpath -Wl,$(BCPDIR)/lib

# C Compiler options
CFLAGS += -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long   -DCLP_BUILD

# Sample data directory
ifeq ($(COIN_HAS_SAMPLE), TRUE)
  ifeq ($(COIN_HAS_PKGCONFIG), TRUE)
    CXXFLAGS += -DSAMPLEDIR=\"`PKG_CONFIG_PATH=$(BCPDIR)/lib64/pkgconfig:$(BCPDIR)/lib/pkgconfig:$(BCPDIR)/share/pkgconfig: pkg-config --variable=datadir coindatasample`\"
      CFLAGS += -DSAMPLEDIR=\"`PKG_CONFIG_PATH=$(BCPDIR)/lib64/pkgconfig:$(BCPDIR)/lib/pkgconfig:$(BCPDIR)/share/pkgconfig: pkg-config --variable=datadir coindatasample`\"
  else
    CXXFLAGS += -DSAMPLEDIR=\"\"
      CFLAGS += -DSAMPLEDIR=\"\"
  endif
endif

# Netlib data directory
ifeq ($(COIN_HAS_NETLIB), TRUE)
  ifeq ($(COIN_HAS_PKGCONFIG), TRUE)
    CXXFLAGS += -DNETLIBDIR=\"`PKG_CONFIG_PATH=$(BCPDIR)/lib64/pkgconfig:$(BCPDIR)/lib/pkgconfig:$(BCPDIR)/share/pkgconfig: pkg-config --variable=datadir coindatanetlib`\"
      CFLAGS += -DNETLIBDIR=\"`PKG_CONFIG_PATH=$(BCPDIR)/lib64/pkgconfig:$(BCPDIR)/lib/pkgconfig:$(BCPDIR)/share/pkgconfig: pkg-config --variable=datadir coindatanetlib`\"
  else
    CXXFLAGS += -DNETLIBDIR=\"\"
      CFLAGS += -DNETLIBDIR=\"\"
  endif
endif

# Include directories (we use the CYGPATH_W variables to allow compilation with Windows compilers)
ifeq ($(COIN_HAS_PKGCONFIG), TRUE)
  INCLUDESFLAGS += `PKG_CONFIG_PATH=$(BCPDIR)/lib64/pkgconfig:$(BCPDIR)/lib/pkgconfig:$(BCPDIR)/share/pkgconfig: pkg-config --cflags clp`
endif

# Linker flags
LIBS = -L$(BCPDIR)/lib -lBcp -lOsi -lOsiClp -lClpSolver -lClp -lCoinUtils -lbz2 -lz -llapack -lblas -lm

# The following is necessary under cygwin, if native compilers are used
CYGPATH_W = echo

back to top