Fixed order of cblas and atlas linker flags
authorjamt9000 <jamt9000@gmail.com>
Mon, 3 Mar 2014 17:07:23 +0000 (17:07 +0000)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Fri, 21 Mar 2014 20:52:36 +0000 (13:52 -0700)
They were the wrong way round, causing linking to fail in some cases

Makefile

index 9f2e91c..e61fb63 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -107,7 +107,7 @@ ifeq ($(USE_MKL), 1)
   INCLUDE_DIRS += $(MKL_INCLUDE_DIR)
   LIBRARY_DIRS += $(MKL_LIB_DIR)
 else
-  LIBRARIES += atlas cblas
+  LIBRARIES += cblas atlas
 endif
 
 COMMON_FLAGS += $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir))