Fixed #16. Print the user-friendly message when detecting CPU failed.

This commit is contained in:
Xianyi Zhang 2011-04-22 22:14:06 +08:00
parent b8d93812f0
commit 2aab238c61
1 changed files with 3 additions and 0 deletions

View File

@ -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 \