File: Makefile

package info (click to toggle)
libflame 5.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 162,052 kB
  • sloc: ansic: 750,080; fortran: 404,344; makefile: 8,133; sh: 5,458; python: 937; pascal: 144; perl: 66
file content (19 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

LAPACK_PRES := $(shell if [ -e ../liblapack.a ]; then echo "yes"; else echo "no"; fi)
BLAS_PRES   := $(shell if [ -e ../libblas.a   ]; then echo "yes"; else echo "no"; fi)

all:
ifeq ($(LAPACK_PRES),yes)
	$(info Found 'liblapack.a'.)
else
	$(error Missing liblapack.a. Cannot continue. Please create a symlink named 'liblapack.a' and then re-run 'make'.)
endif
ifeq ($(BLAS_PRES),yes)
	$(info Found 'libblas.a'.)
else
	$(error Missing libblas.a. Cannot continue. Please create a symlink named 'libblas.a' and then re-run 'make'.)
endif
	@echo "Netlib LAPACK test suite prerequisites present."

clean:
	@echo "No objects to clean in SRC."