diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-05 02:54:37 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-05 02:54:37 -0600 |
commit | 9746cd7d826ce0dac6638d366c32d99b0a8700b6 (patch) | |
tree | 400b43fb391be2d796a4b28eeb42c1fb6cdb01e5 /CBLAS | |
parent | 7fb9b8f128e78c385be3751712ba68c390796920 (diff) | |
download | lapack-9746cd7d826ce0dac6638d366c32d99b0a8700b6.tar.gz lapack-9746cd7d826ce0dac6638d366c32d99b0a8700b6.tar.bz2 lapack-9746cd7d826ce0dac6638d366c32d99b0a8700b6.zip |
Fix missing or unnecessary prerequisites
Diffstat (limited to 'CBLAS')
-rw-r--r-- | CBLAS/Makefile | 24 | ||||
-rw-r--r-- | CBLAS/testing/Makefile | 23 |
2 files changed, 16 insertions, 31 deletions
diff --git a/CBLAS/Makefile b/CBLAS/Makefile index 3ba1f717..43d94068 100644 --- a/CBLAS/Makefile +++ b/CBLAS/Makefile @@ -1,9 +1,18 @@ include ../make.inc -all: - cd include && cp cblas_mangling_with_flags.h.in cblas_mangling.h - cd src && $(MAKE) all +all: cblas +cblas: include/cblas_mangling.h + cd src && $(MAKE) + +include/cblas_mangling.h: include/cblas_mangling_with_flags.h.in + cp $< $@ + +cblas_testing: cblas + cd testing && $(MAKE) run + +cblas_example: cblas + cd examples && $(MAKE) clean: cleanlib @@ -16,12 +25,3 @@ cleanexe: cleanall: clean cleanexe cd src && $(MAKE) cleanall cd examples && $(MAKE) cleanall - -cblas_testing: - cd testing && $(MAKE) all - -runtst: - cd testing && $(MAKE) run - -example: all - cd examples && $(MAKE) all diff --git a/CBLAS/testing/Makefile b/CBLAS/testing/Makefile index 3b6eaed3..2ef499c9 100644 --- a/CBLAS/testing/Makefile +++ b/CBLAS/testing/Makefile @@ -28,9 +28,9 @@ ztestl2o = c_zblas2.o c_z2chke.o auxiliary.o c_xerbla.o ztestl3o = c_zblas3.o c_z3chke.o auxiliary.o c_xerbla.o all: all1 all2 all3 -all1: stest1 dtest1 ctest1 ztest1 -all2: stest2 dtest2 ctest2 ztest2 -all3: stest3 dtest3 ctest3 ztest3 +all1: xscblat1 xdcblat1 xccblat1 xzcblat1 +all2: xscblat2 xdcblat2 xccblat2 xzcblat2 +all3: xscblat3 xdcblat3 xccblat3 xzcblat3 clean: rm -f core *.o *.out x* @@ -39,21 +39,6 @@ cleanobj: cleanexe: rm -f x* -stest1: xscblat1 -dtest1: xdcblat1 -ctest1: xccblat1 -ztest1: xzcblat1 - -stest2: xscblat2 -dtest2: xdcblat2 -ctest2: xccblat2 -ztest2: xzcblat2 - -stest3: xscblat3 -dtest3: xdcblat3 -ctest3: xccblat3 -ztest3: xzcblat3 - # # Compile each precision # @@ -91,7 +76,7 @@ xzcblat3: c_zblat3.o $(ztestl3o) $(LIB) # RUN TESTS -run: +run: all @echo "--> TESTING CBLAS 1 - SINGLE PRECISION REAL <--" @./xscblat1 > stest1.out @echo "--> TESTING CBLAS 1 - DOUBLE PRECISION REAL <--" |