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'
17 lines
551 B
Makefile
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 $@ $<
|