Ticket #46674: patch-src_Makefile.diff

File patch-src_Makefile.diff, 595 bytes (added by Schamschula (Marius Schamschula), 10 years ago)
  • src/Makefile

    old new  
    2526all : $(TARGETS) pgmres.oct
    2627
    2728$(GSVD_TARGET) : $(GSVD_DEPENDS) $(GSVD_OBJECTS)
    28         $(MKOCTFILE) $(DEFINES) $(GSVD_OBJECTS) -o $@ ${LAPACK_LIBS}
     29        $(MKOCTFILE) $(DEFINES) $(GSVD_OBJECTS) -o $@ ${LAPACK_LIBS} ${BLAS_LIBS}
    2930
    3031$(GSVD_TEST) : $(GSVD_TARGET)
    3132
     
    4647        $(MKOCTFILE) $(DEFINES) $< -o $@
    4748
    4849%.oct: %.cc
    49         mkoctfile $(DEFINES) $< -o $@ ${LAPACK_LIBS}
     50        mkoctfile $(DEFINES) $< -o $@ ${LAPACK_LIBS} ${BLAS_LIBS}
    5051
    5152.phony: test
    5253test: $(GSVD_TEST)