From: <car...@us...> - 2012-01-10 18:00:27
|
Revision: 9519 http://octave.svn.sourceforge.net/octave/?rev=9519&view=rev Author: carandraug Date: 2012-01-10 18:00:16 +0000 (Tue, 10 Jan 2012) Log Message: ----------- linear-algebra: makefile updated to link to LAPACK. Patch submitted by marco atzeri <mar...@gm...> Modified Paths: -------------- trunk/octave-forge/main/linear-algebra/src/Makefile Modified: trunk/octave-forge/main/linear-algebra/src/Makefile =================================================================== --- trunk/octave-forge/main/linear-algebra/src/Makefile 2012-01-10 17:59:30 UTC (rev 9518) +++ trunk/octave-forge/main/linear-algebra/src/Makefile 2012-01-10 18:00:16 UTC (rev 9519) @@ -4,6 +4,8 @@ MKOCTFILE = mkoctfile endif +LAPACK_LIBS := $(shell mkoctfile -p LAPACK_LIBS) + DEFINES = -DHAVE_CONFIG_H -Wall GSVD_OBJECTS = gsvd.o dbleGSVD.o CmplxGSVD.o GSVD_TARGET = gsvd.oct @@ -23,7 +25,7 @@ all : $(TARGETS) pgmres.oct $(GSVD_TARGET) : $(GSVD_DEPENDS) $(GSVD_OBJECTS) - $(MKOCTFILE) $(DEFINES) $(GSVD_OBJECTS) -o $@ + $(MKOCTFILE) $(DEFINES) $(GSVD_OBJECTS) -o $@ ${LAPACK_LIBS} $(GSVD_TEST) : $(GSVD_TARGET) @@ -44,7 +46,7 @@ $(MKOCTFILE) $(DEFINES) $< -o $@ %.oct: %.cc - mkoctfile $(DEFINES) $< -o $@ + mkoctfile $(DEFINES) $< -o $@ ${LAPACK_LIBS} .phony: test test: $(GSVD_TEST) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |