From 5bffb29454d37bb5d46e063aa3ecd04fad9e4232 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 21 Feb 2017 18:46:45 -0500 Subject: Allow overriding of atlas usage from environment variable Use as: $ NOATLAS=true make --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fb6421c..42f6451 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,11 @@ OBJ=$(patsubst %.c,%.o,$(SRC)) all: lib/libgensvm.a $(EXECS) +ifdef NOATLAS +override LDFLAGS+=-lcblas -llapack -lm +else override LDFLAGS+=-lcblas -llapack -lm -latlas +endif debug: CFLAGS += -DDEBUG debug: all -- cgit v1.2.3