# Static or shared libraries should be built (STATIC or SHARED)? LibType := SHARED # Select optimization (-O or -g). -O will be automatically bumped up to the # highest level of optimization the compiler supports. If want something in # between then specify the exact level you want, e.g., -O1 or -O2 OptLevel := -O LIBNAME := OsiCpx LIBSRC := LIBSRC += OsiCpxSolverInterface.cpp ############################################################################## # You should not need to edit below this line. ############################################################################## # The location of the customized Makefiles export CoinDir := $(shell cd ../..; pwd) export MakefileDir := $(CoinDir)/Makefiles include ${MakefileDir}/Makefile.coin include ${MakefileDir}/Makefile.location export ExtraIncDir := \ ${CpxIncDir} ${OsiIncDir} ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir} export ExtraLibDir := \ ${CpxLibDir} ${OsiLibDir} ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir} export ExtraLibName := \ ${CpxLibName} ${OsiLibName} ${CoinLibName} ${zlibLibName} ${bzlibLibName} export ExtraDefine := \ ${CpxDefine} ${OsiDefine} ${CoinDefine} ${zlibDefine} ${bzlibDefine} export LibType OptLevel LIBNAME LIBSRC ############################################################################### .DELETE_ON_ERROR: .PHONY: default install libosi library clean doc default: install install library : % : (cd $(CoinDir)/Osi && $(MAKE) -f Makefile.Osi install) $(MAKE) -f ${MakefileDir}/Makefile.lib $* libOsiCpx : (cd $(CoinDir)/Osi && $(MAKE) libOsi) $(MAKE) -f ${MakefileDir}/Makefile.lib $* clean doc : % : $(MAKE) -f ${MakefileDir}/Makefile.lib $*