From 2aab238c61044c01a0fbed438d1cf3cbb3f13d39 Mon Sep 17 00:00:00 2001 From: Xianyi Zhang Date: Fri, 22 Apr 2011 22:14:06 +0800 Subject: [PATCH] Fixed #16. Print the user-friendly message when detecting CPU failed. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 52f649f77..77dd3c2e7 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,9 @@ endif endif libs : +ifeq ($(CORE), UNKOWN) + $(error OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.) +endif -ln -fs $(LIBNAME) libopenblas.$(LIBSUFFIX) for d in $(SUBDIRS) ; \ do if test -d $$d; then \