#------------------------------------------------------------------------------- # Linux configuration #------------------------------------------------------------------------------- CC = gcc # Generic: CFLAGS = -O3 -fPIC # MathWorks: # CFLAGS = -ansi -pthread -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE -W -Wall -Wno-parentheses -Wshadow -Wcast-align -Winline -Wstrict-prototypes -DNCBLAS -DNDEBUG RANLIB = ranlib # BLAS options: # with no BLAS (this will be slow) CONFIG = -DNBLAS LIB = -lm # with the C-BLAS (http://www.netlib.org/atlas) in the ../ATLAS directory. # If not in ../ATLAS, then simply create a symbolic link to it, via # the command (cd .. ; ln -s /path/ATLAS) where /path/ATLAS is your ATLAS # installation directory. # CONFIG = -I../ATLAS/include # LIB = -L../ATLAS/lib/Linux_PIII/ -lcblas -latlas -lm