changeset 10392:f500d9122ea8 octave-forge

Allow user-specified LAPACK_LIBS or BLAS_LIBS.
author i7tiol
date Thu, 07 Jun 2012 11:48:22 +0000
parents cf985eb1e0f2
children 4feb8c59bfc2
files main/optim/src/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/optim/src/Makefile	Thu Jun 07 09:33:21 2012 +0000
+++ b/main/optim/src/Makefile	Thu Jun 07 11:48:22 2012 +0000
@@ -1,9 +1,9 @@
 MKOCTFILE ?= mkoctfile
 
-LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS)
+LAPACK_LIBS ?= $(shell $(MKOCTFILE) -p LAPACK_LIBS)
 # reported necessary for Apple's VecLib framework by Carlo de Falco
 # <carlo.defalco@gmail.com>
-BLAS_LIBS := $(shell $(MKOCTFILE) -p BLAS_LIBS)
+BLAS_LIBS ?= $(shell $(MKOCTFILE) -p BLAS_LIBS)
 
 # Passing LFLAGS, supplemented with LAPACK_LIBS and BLAS_LIBS, in the
 # environment to mkoctfile is prefered over passing LAPACK_LIBS and