From: <i7...@us...> - 2012-06-12 13:43:06
|
Revision: 10621 http://octave.svn.sourceforge.net/octave/?rev=10621&view=rev Author: i7tiol Date: 2012-06-12 13:42:55 +0000 (Tue, 12 Jun 2012) Log Message: ----------- Avoid recursive variables in Makefile. Modified Paths: -------------- trunk/octave-forge/main/optim/src/Makefile Modified: trunk/octave-forge/main/optim/src/Makefile =================================================================== --- trunk/octave-forge/main/optim/src/Makefile 2012-06-12 10:39:39 UTC (rev 10620) +++ trunk/octave-forge/main/optim/src/Makefile 2012-06-12 13:42:55 UTC (rev 10621) @@ -1,10 +1,14 @@ MKOCTFILE ?= mkoctfile -LAPACK_LIBS ?= $(shell $(MKOCTFILE) -p LAPACK_LIBS) +ifndef LAPACK_LIBS +LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS) +endif OCTAVE_LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS) # reported necessary for Apple's VecLib framework by Carlo de Falco # <car...@gm...> -BLAS_LIBS ?= $(shell $(MKOCTFILE) -p BLAS_LIBS) +ifndef BLAS_LIBS +BLAS_LIBS := $(shell $(MKOCTFILE) -p BLAS_LIBS) +endif OCTAVE_BLAS_LIBS := $(shell $(MKOCTFILE) -p BLAS_LIBS) # Passing LFLAGS, supplemented with LAPACK_LIBS and BLAS_LIBS, in the This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |