Remove installation of cblas.h.
authorJianzhong Xu <a0869574@ti.com>
Fri, 27 Mar 2015 16:18:45 +0000 (12:18 -0400)
committerJianzhong Xu <a0869574@ti.com>
Fri, 27 Mar 2015 16:18:45 +0000 (12:18 -0400)
Makefile

index c7127722019210df30d3079f5a62e5d599be7b9a..f4fa3ea2d2adbb8e9ae4683d82864e5235274cdd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,12 +7,8 @@ LINALG_BLASACC_DIR  = blasblisacc
 LINALG_CLAPACK_DIR  = clapack
 BLIS_VERSION = $(shell cat $(LINALG_BLIS_DIR)/version)
 
-LINALG_HEADERS= 
-ifeq ($(wildcard ${DESTDIR}/usr/include/cblas.h),)
-LINALG_HEADERS+=$(LINALG_CBLAS_DIR)/include/cblas.h
-endif
-LINALG_HEADERS+=$(LINALG_CLAPACK_DIR)/INCLUDE/blaswrap.h  
-LINALG_HEADERS+=$(LINALG_CLAPACK_DIR)/INCLUDE/$(LINALG_CLAPACK_DIR).h  
+LINALG_HEADERS =$(LINALG_CLAPACK_DIR)/INCLUDE/blaswrap.h  
+LINALG_HEADERS+=$(LINALG_CLAPACK_DIR)/INCLUDE/clapack.h  
 LINALG_HEADERS+=$(LINALG_CLAPACK_DIR)/INCLUDE/f2c.h  
 
 build: ARMonly
@@ -46,7 +42,8 @@ cleanARMplusDSP:
 clean:
        cd $(LINALG_CBLAS_DIR)/src; make arch=ARM clean; \
        cd ../../$(LINALG_BLIS_DIR); ./configure -p install/arm cortex-a15; make clean; \
-       cd ../$(LINALG_BLASACC_DIR)/src; make -f Makefile.ARM cleanARM
+       cd ../$(LINALG_BLASACC_DIR)/src; make -f Makefile.ARM cleanARM; \
+       cd ../../$(LINALG_CLAPACK_DIR); make clean
 
 DSPonly:
        cd $(LINALG_CBLAS_DIR); make arch=C66 alllib; \