Update LAPACK to 3.9.0

This commit is contained in:
Martin Kroeker 2019-12-29 18:51:58 +01:00 committed by GitHub
parent 274433c4b3
commit c65214ab37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 9 deletions

View File

@ -1,34 +1,38 @@
include ../../make.inc
TOPSRCDIR = ../..
include $(TOPSRCDIR)/make.inc
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -I. -I../include -c -o $@ $<
.PHONY: all
all: xexample_DGESV_rowmajor \
xexample_DGESV_colmajor \
xexample_DGELS_rowmajor \
xexample_DGELS_colmajor
LIBRARIES = ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB)
LIBRARIES = $(LAPACKELIB) $(LAPACKLIB) $(BLASLIB)
# Double Precision Examples
xexample_DGESV_rowmajor: example_DGESV_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
$(LOADER) $(LOADOPTS) -o $@ $^
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
./$@
xexample_DGESV_colmajor: example_DGESV_colmajor.o lapacke_example_aux.o $(LIBRARIES)
$(LOADER) $(LOADOPTS) -o $@ $^
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
./$@
xexample_DGELS_rowmajor: example_DGELS_rowmajor.o lapacke_example_aux.o $(LIBRARIES)
$(LOADER) $(LOADOPTS) -o $@ $^
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
./$@
xexample_DGELS_colmajor: example_DGELS_colmajor.o lapacke_example_aux.o $(LIBRARIES)
$(LOADER) $(LOADOPTS) -o $@ $^
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
./$@
.PHONY: clean cleanobj cleanexe
clean: cleanobj cleanexe
cleanobj:
rm -f *.o
cleanexe:
rm -f x*
.c.o:
$(CC) $(CFLAGS) -I. -I../include -c -o $@ $<