aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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