Fix Makefile to run tests even when TARGET is set. Also, do not run tests until we ask for them. --- xianyi-OpenBLAS-2b0d8a8/Makefile.orig 2015-03-24 16:07:07.000000000 -0400 +++ xianyi-OpenBLAS-2b0d8a8/Makefile 2015-07-22 14:06:47.955139133 -0400 @@ -25,7 +25,7 @@ .PHONY : all libs netlib test ctest shared install .NOTPARALLEL : all libs prof lapack-test install blas-test -all :: libs netlib tests shared +all :: libs netlib shared @echo @echo " OpenBLAS build complete. ($(LIB_COMPONENTS))" @echo @@ -110,7 +110,6 @@ tests : ifndef NOFORTRAN -ifndef TARGET ifndef CROSS touch $(LIBNAME) ifndef NO_FBLAS @@ -124,7 +123,6 @@ endif endif endif -endif libs : ifeq ($(CORE), UNKOWN)