| @@ -32,7 +32,12 @@ | |||||
| ############################################################################## | ############################################################################## | ||||
| # makefile for LAPACKE, used to build lapacke binary. | # makefile for LAPACKE, used to build lapacke binary. | ||||
| # | # | ||||
| include ../../make.inc | |||||
| TOPSRCDIR = ../.. | |||||
| include $(TOPSRCDIR)/make.inc | |||||
| .SUFFIXES: .c .o | |||||
| .c.o: | |||||
| $(CC) $(CFLAGS) -I../include -c -o $@ $< | |||||
| OBJ = lapacke_cgb_nancheck.o \ | OBJ = lapacke_cgb_nancheck.o \ | ||||
| lapacke_cgb_trans.o \ | lapacke_cgb_trans.o \ | ||||
| @@ -183,15 +188,15 @@ OBJ = lapacke_cgb_nancheck.o \ | |||||
| lapacke_make_complex_float.o \ | lapacke_make_complex_float.o \ | ||||
| lapacke_make_complex_double.o | lapacke_make_complex_double.o | ||||
| .PHONY: all | |||||
| all: lib | all: lib | ||||
| .PHONY: lib | |||||
| lib: $(OBJ) | lib: $(OBJ) | ||||
| $(ARCH) $(ARCHFLAGS) ../../$(LAPACKELIB) $^ | |||||
| $(RANLIB) ../../$(LAPACKELIB) | |||||
| $(AR) $(ARFLAGS) $(LAPACKELIB) $^ | |||||
| $(RANLIB) $(LAPACKELIB) | |||||
| .PHONY: clean cleanobj | |||||
| clean: cleanobj | clean: cleanobj | ||||
| cleanobj: | cleanobj: | ||||
| rm -f *.o | rm -f *.o | ||||
| .c.o: | |||||
| $(CC) $(CFLAGS) -I../include -c -o $@ $< | |||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo, transr or | * check 1d array for NaNs. It doesn't depend upon uplo, transr or | ||||
| * matrix_layout. | * matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo, transr or | * check 1d array for NaNs. It doesn't depend upon uplo, transr or | ||||
| * matrix_layout. | * matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo, transr or | * check 1d array for NaNs. It doesn't depend upon uplo, transr or | ||||
| * matrix_layout. | * matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo, transr or | * check 1d array for NaNs. It doesn't depend upon uplo, transr or | ||||
| * matrix_layout. | * matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||
| @@ -33,7 +33,7 @@ | |||||
| #include "lapacke_utils.h" | #include "lapacke_utils.h" | ||||
| /* Check a matrix for NaN entries. | /* Check a matrix for NaN entries. | ||||
| * Since matrix in packed format stored continiously it just required to | |||||
| * Since matrix in packed format stored continuously it just required to | |||||
| * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | * check 1d array for NaNs. It doesn't depend upon uplo or matrix_layout. | ||||
| */ | */ | ||||