# 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 := OsiSpx LIBSRC := LIBSRC += OsiSpxSolverInterface.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 := \ ${SpxIncDir} ${OsiIncDir} ${CoinIncDir} ${zlibIncDir} ${bzlibIncDir} export ExtraLibDir := \ ${SpxLibDir} ${OsiLibDir} ${CoinLibDir} ${zlibLibDir} ${bzlibLibDir} export ExtraLibName := \ ${SpxLibName} ${OsiLibName} ${CoinLibName} ${zlibLibName} ${bzlibLibName} export ExtraDefine := \ ${SpxDefine} ${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 $* libOsiSpx : (cd $(CoinDir)/Osi && $(MAKE) libOsi) $(MAKE) -f ${MakefileDir}/Makefile.lib $* clean doc : % : $(MAKE) -f ${MakefileDir}/Makefile.lib $*