Files
lapack/lapacke/example/Makefile
T
julie 3542df4eea Integrate LAPACKE into LAPACK make and CMAKE build system.
First commit, works on my mac! Need to see how to adapt to intel compilers and of course Windows.

LAPACKE is not built by default. Is that OK?
User need to type 'make lapackelib' to generate the lib
I add a couple of examples taken from MKL LAPACKE 'make lapacke_example'
2011-12-03 05:37:44 +00:00

17 lines
551 B
Makefile

include ../../make.inc
all: xexample_DGESV_rowmajor xexample_ZGESV_rowmajor
xexample_DGESV_rowmajor: example_DGESV_rowmajor.o ../../$(LAPACKLIB) ../../$(LAPACKELIB)
$(LOADER) $(LOADOPTS) example_DGESV_rowmajor.o \
../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
./$@
xexample_ZGESV_rowmajor: example_ZGESV_rowmajor.o ../../$(LAPACKLIB) ../../$(LAPACKELIB)
$(LOADER) $(LOADOPTS) example_ZGESV_rowmajor.o \
../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
./$@
.c.o:
$(CC) -c $(CFLAGS) -I ../include -o $@ $<