Mercurial > forge
changeset 9329:a58f3674ada3 octave-forge
optiminterp: link to LAPACK needed for 3.6. Patch submitted by marco atzeri <marco.atzeri@gmail.com>
author | carandraug |
---|---|
date | Tue, 10 Jan 2012 17:40:19 +0000 |
parents | 32c3b153683c |
children | 84622f55323d |
files | main/optiminterp/src/Makefile |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/optiminterp/src/Makefile Tue Jan 10 17:27:12 2012 +0000 +++ b/main/optiminterp/src/Makefile Tue Jan 10 17:40:19 2012 +0000 @@ -7,6 +7,9 @@ TARGETS=optiminterp.oct +LAPACK_LIBS := $(shell mkoctfile -p LAPACK_LIBS) +FLIBS := $(shell mkoctfile -p FLIBS) + # Rule for compiling Fortran 90 programs %.o: %.F90 @@ -21,7 +24,7 @@ optiminterp.oct: $(OBJECTS) - $(MKOCTFILE) -o $@ $(OBJECTS) $(LIBS) + $(MKOCTFILE) -o $@ $(OBJECTS) $(LIBS) $(LAPACK_LIBS) $(FLIBS) check: octave --silent --norc --eval test_optiminterp