diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-05 03:09:06 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-05 03:09:06 -0600 |
commit | 7daa32722f95d150f1d7229b71f1030c655eccd5 (patch) | |
tree | ad59f8f0eda4b1fa337ce6702ffb17759b8c4f75 /Makefile | |
parent | 9746cd7d826ce0dac6638d366c32d99b0a8700b6 (diff) | |
download | lapack-7daa32722f95d150f1d7229b71f1030c655eccd5.tar.gz lapack-7daa32722f95d150f1d7229b71f1030c655eccd5.tar.bz2 lapack-7daa32722f95d150f1d7229b71f1030c655eccd5.zip |
Use $(MAKE) -C for recursion
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 116 |
1 files changed, 61 insertions, 55 deletions
@@ -14,74 +14,80 @@ lib: lapacklib tmglib clean: cleanlib cleantesting cleanblas_testing cleancblas_testing blaslib: - ( cd BLAS/SRC; $(MAKE) ) + $(MAKE) -C BLAS/SRC cblaslib: - ( cd CBLAS; $(MAKE) ) + $(MAKE) -C CBLAS lapacklib: - ( cd SRC; $(MAKE) ) + $(MAKE) -C SRC lapackelib: - ( cd LAPACKE; $(MAKE) ) + $(MAKE) -C LAPACKE tmglib: - ( cd TESTING/MATGEN; $(MAKE) ) + $(MAKE) -C TESTING/MATGEN variants: - ( cd SRC/VARIANTS; $(MAKE) ) + $(MAKE) -C SRC/VARIANTS lapack_install: - ( cd INSTALL; $(MAKE) run ) + $(MAKE) -C INSTALL run blas_testing: blaslib - ( cd BLAS/TESTING; $(MAKE) run ) + $(MAKE) -C BLAS/TESTING run cblas_testing: cblaslib blaslib - ( cd CBLAS; $(MAKE) cblas_testing ) + $(MAKE) -C CBLAS cblas_testing lapack_testing: tmglib lapacklib blaslib - ( cd TESTING/LIN && rm -f xlintst* ) - ( cd TESTING && $(MAKE) ) + rm -f TESTING/LIN/xlintst* + $(MAKE) -C TESTING ./lapack_testing.py variants_testing: tmglib variants lapacklib blaslib - ( cd TESTING/LIN && rm -f xlintst* && $(MAKE) VARLIB='SRC/VARIANTS/cholrl.a' ) - ( cd TESTING && $(MAKE) stest.out && mv stest.out stest_cholrl.out ) - ( cd TESTING && $(MAKE) dtest.out && mv dtest.out dtest_cholrl.out ) - ( cd TESTING && $(MAKE) ctest.out && mv ctest.out ctest_cholrl.out ) - ( cd TESTING && $(MAKE) ztest.out && mv ztest.out ztest_cholrl.out ) - ( cd TESTING/LIN; rm -f xlintst*; $(MAKE) VARLIB='SRC/VARIANTS/choltop.a' ) - ( cd TESTING && $(MAKE) stest.out && mv stest.out stest_choltop.out ) - ( cd TESTING && $(MAKE) dtest.out && mv dtest.out dtest_choltop.out ) - ( cd TESTING && $(MAKE) ctest.out && mv ctest.out ctest_choltop.out ) - ( cd TESTING && $(MAKE) ztest.out && mv ztest.out ztest_choltop.out ) - ( cd TESTING/LIN; rm -f xlintst*; $(MAKE) VARLIB='SRC/VARIANTS/lucr.a' ) - ( cd TESTING && $(MAKE) stest.out && mv stest.out stest_lucr.out ) - ( cd TESTING && $(MAKE) dtest.out && mv dtest.out dtest_lucr.out ) - ( cd TESTING && $(MAKE) ctest.out && mv ctest.out ctest_lucr.out ) - ( cd TESTING && $(MAKE) ztest.out && mv ztest.out ztest_lucr.out ) - ( cd TESTING/LIN; rm -f xlintst*; $(MAKE) VARLIB='SRC/VARIANTS/lull.a' ) - ( cd TESTING && $(MAKE) stest.out && mv stest.out stest_lull.out ) - ( cd TESTING && $(MAKE) dtest.out && mv dtest.out dtest_lull.out ) - ( cd TESTING && $(MAKE) ctest.out && mv ctest.out ctest_lull.out ) - ( cd TESTING && $(MAKE) ztest.out && mv ztest.out ztest_lull.out ) - ( cd TESTING/LIN; rm -f xlintst*; $(MAKE) VARLIB='SRC/VARIANTS/lurec.a' ) - ( cd TESTING && $(MAKE) stest.out && mv stest.out stest_lurec.out ) - ( cd TESTING && $(MAKE) dtest.out && mv dtest.out dtest_lurec.out ) - ( cd TESTING && $(MAKE) ctest.out && mv ctest.out ctest_lurec.out ) - ( cd TESTING && $(MAKE) ztest.out && mv ztest.out ztest_lurec.out ) - ( cd TESTING/LIN; rm -f xlintst*; $(MAKE) VARLIB='SRC/VARIANTS/qrll.a' ) - ( cd TESTING && $(MAKE) stest.out && mv stest.out stest_qrll.out ) - ( cd TESTING && $(MAKE) dtest.out && mv dtest.out dtest_qrll.out ) - ( cd TESTING && $(MAKE) ctest.out && mv ctest.out ctest_qrll.out ) - ( cd TESTING && $(MAKE) ztest.out && mv ztest.out ztest_qrll.out ) + rm -f TESTING/LIN/xlintst* + $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/cholrl.a' + $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_cholrl.out + $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_cholrl.out + $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_cholrl.out + $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_cholrl.out + rm -f TESTING/LIN/xlintst* + $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/choltop.a' + $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_choltop.out + $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_choltop.out + $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_choltop.out + $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_choltop.out + rm -f TESTING/LIN/xlintst* + $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lucr.a' + $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lucr.out + $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lucr.out + $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lucr.out + $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lucr.out + rm -f TESTING/LIN/xlintst* + $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lull.a' + $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lull.out + $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lull.out + $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lull.out + $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lull.out + rm -f TESTING/LIN/xlintst* + $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lurec.a' + $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lurec.out + $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lurec.out + $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lurec.out + $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lurec.out + rm -f TESTING/LIN/xlintst* + $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/qrll.a' + $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_qrll.out + $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_qrll.out + $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_qrll.out + $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_qrll.out cblas_example: cblaslib blaslib - ( cd CBLAS; $(MAKE) cblas_example ) + $(MAKE) -C CBLAS cblas_example lapacke_example: lapackelib lapacklib blaslib - ( cd LAPACKE; $(MAKE) lapacke_example ) + $(MAKE) -C LAPACKE lapacke_example html: @echo "LAPACK HTML PAGES GENERATION with Doxygen" @@ -102,25 +108,25 @@ man: @echo "==================" cleanlib: - ( cd INSTALL; $(MAKE) clean ) - ( cd BLAS/SRC; $(MAKE) clean ) - ( cd CBLAS; $(MAKE) clean ) - ( cd SRC; $(MAKE) clean ) - ( cd SRC/VARIANTS; $(MAKE) clean ) - ( cd TESTING/MATGEN; $(MAKE) clean ) - ( cd LAPACKE; $(MAKE) clean ) + $(MAKE) -C INSTALL clean + $(MAKE) -C BLAS/SRC clean + $(MAKE) -C CBLAS clean + $(MAKE) -C SRC clean + $(MAKE) -C SRC/VARIANTS clean + $(MAKE) -C TESTING/MATGEN clean + $(MAKE) -C LAPACKE clean cleanblas_testing: - ( cd BLAS/TESTING; $(MAKE) clean ) + $(MAKE) -C BLAS/TESTING clean cleancblas_testing: - ( cd CBLAS/testing; $(MAKE) clean ) + $(MAKE) -C CBLAS/testing clean cleantesting: - ( cd TESTING/LIN; $(MAKE) clean ) - ( cd TESTING/EIG; $(MAKE) clean ) + $(MAKE) -C TESTING/LIN clean + $(MAKE) -C TESTING/EIG clean cleanall: cleanlib cleanblas_testing cleancblas_testing cleantesting - ( cd INSTALL; $(MAKE) cleanall ) + $(MAKE) -C INSTALL cleanall rm -f *.a TESTING/*.out |