Fixed #143. Don't generate cblas.h with NO_CBLAS.
authorZhang Xianyi <traits.zhang@gmail.com>
Fri, 14 Sep 2012 06:06:14 +0000 (14:06 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Fri, 14 Sep 2012 06:06:14 +0000 (14:06 +0800)
Makefile.install

index a74f3d6..7f30d6b 100644 (file)
@@ -32,8 +32,10 @@ install :    lib.grd
        @cat common_interface.h >> $(OPENBLAS_INCLUDE_DIR)/f77blas.h
        @echo \#endif >> $(OPENBLAS_INCLUDE_DIR)/f77blas.h
 
+ifndef NO_CBLAS
        @echo Generating cblas.h in $(OPENBLAS_INCLUDE_DIR)
        @sed 's/common/openblas_config/g' cblas.h > $(OPENBLAS_INCLUDE_DIR)/cblas.h
+endif
 
 ifndef NO_LAPACKE
        @echo Copying LAPACKE header files to $(OPENBLAS_LIBRARY_DIR)