Merge pull request #3709 from nursik/develop
[platform/upstream/openblas.git] / Makefile
index 1ed8180..967ab1b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -149,14 +149,18 @@ ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN)))
 ifndef NO_FBLAS
        $(MAKE) -C test all
 endif
+endif
+ifneq ($(ONLY_CBLAS), 1)
        $(MAKE) -C utest all
+endif
 ifneq ($(NO_CBLAS), 1)
+ifneq ($(ONLY_CBLAS), 1)
        $(MAKE) -C ctest all
+endif
 ifeq ($(CPP_THREAD_SAFETY_TEST), 1)
        $(MAKE) -C cpp_thread_test all
 endif
 endif
-endif
 
 libs :
 ifeq ($(CORE), UNKNOWN)