From: François Bissey Date: Wed, 14 Dec 2016 22:38:23 +0000 (+1300) Subject: Never use "make" in makefiles. Only $(MAKE). X-Git-Tag: upstream/0.2.20^2~95^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c732f1a06652316e7ea8dc33fd2cbf03dea1ba29;p=platform%2Fupstream%2Fopenblas.git Never use "make" in makefiles. Only $(MAKE). --- diff --git a/Makefile b/Makefile index 2ae00479..2071e109 100644 --- a/Makefile +++ b/Makefile @@ -278,13 +278,13 @@ lapack-timing : large.tgz timing.tgz ifndef NOFORTRAN (cd $(NETLIB_LAPACK_DIR); $(TAR) zxf ../timing.tgz TIMING) (cd $(NETLIB_LAPACK_DIR)/TIMING; $(TAR) zxf ../../large.tgz ) - make -C $(NETLIB_LAPACK_DIR)/TIMING + $(MAKE) -C $(NETLIB_LAPACK_DIR)/TIMING endif lapack-test : (cd $(NETLIB_LAPACK_DIR)/TESTING && rm -f x* *.out) - make -j 1 -C $(NETLIB_LAPACK_DIR)/TESTING xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintstds xlintstrfd xlintstrfz xlintsts xlintstz xlintstzc xlintstrfs xlintstrfc + $(MAKE) -j 1 -C $(NETLIB_LAPACK_DIR)/TESTING xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintstds xlintstrfd xlintstrfz xlintsts xlintstz xlintstzc xlintstrfs xlintstrfc ifneq ($(CROSS), 1) ( cd $(NETLIB_LAPACK_DIR)/INSTALL; ./testlsame; ./testslamch; ./testdlamch; \ ./testsecond; ./testdsecnd; ./testieee; ./testversion ) @@ -299,7 +299,7 @@ lapack-runtest: blas-test: (cd $(NETLIB_LAPACK_DIR)/BLAS && rm -f x* *.out) - make -j 1 -C $(NETLIB_LAPACK_DIR) blas_testing + $(MAKE) -j 1 -C $(NETLIB_LAPACK_DIR) blas_testing (cd $(NETLIB_LAPACK_DIR)/BLAS && cat *.out) diff --git a/lapack-netlib/CBLAS/Makefile b/lapack-netlib/CBLAS/Makefile index d7ee0c50..947eb47c 100644 --- a/lapack-netlib/CBLAS/Makefile +++ b/lapack-netlib/CBLAS/Makefile @@ -24,4 +24,4 @@ runtst: cd testing && $(MAKE) run example: all - cd examples && make all + cd examples && $(MAKE) all