diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2017-02-21 18:46:45 -0500 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2017-02-21 18:46:45 -0500 |
| commit | 5bffb29454d37bb5d46e063aa3ecd04fad9e4232 (patch) | |
| tree | a9e6b011a609d55718f6609f018d78da16236e36 /Makefile | |
| parent | Explicitly specify void argument to functions which take (diff) | |
| download | gensvm-5bffb29454d37bb5d46e063aa3ecd04fad9e4232.tar.gz gensvm-5bffb29454d37bb5d46e063aa3ecd04fad9e4232.zip | |
Allow overriding of atlas usage from environment variable
Use as:
$ NOATLAS=true make
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
