| 1 | |
| 2 | LAPACK_PRES := $(shell if [ -e ../liblapack.a ]; then echo "yes"; else echo "no"; fi) |
| 3 | BLAS_PRES := $(shell if [ -e ../libblas.a ]; then echo "yes"; else echo "no"; fi) |
| 4 | |
| 5 | all: |
| 6 | ifeq ($(LAPACK_PRES),yes) |
| 7 | $(info Found 'liblapack.a'.) |
| 8 | else |
| 9 | $(error Missing liblapack.a. Cannot continue. Please create a symlink named 'liblapack.a' and then re-run 'make'.) |
| 10 | endif |
| 11 | ifeq ($(BLAS_PRES),yes) |
| 12 | $(info Found 'libblas.a'.) |
| 13 | else |
| 14 | $(error Missing libblas.a. Cannot continue. Please create a symlink named 'libblas.a' and then re-run 'make'.) |
| 15 | endif |
| 16 | @echo "Netlib LAPACK test suite prerequisites present." |
| 17 | |
| 18 | clean: |
| 19 | @echo "No objects to clean in SRC." |