version 1.2, 2018/04/07 03:39:45 |
version 1.4, 2019/10/26 04:34:29 |
|
|
TARGET=ox_gsl |
TARGET=ox_gsl |
case "${host}" in |
case "${host}" in |
*-apple-darwin*) |
*-apple-darwin*) |
LIBS="-L../../lib -L/usr/local/lib -lgsl -lox -lmpfr -lgmp -lgc" |
LIBS="-L../../lib -L/usr/local/lib -lgsl -lcblas -lox -lmpfr -lgmp -lgc" |
CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include" |
CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include" |
;; |
;; |
*) |
*) |
LIBS="-L../../lib -L/usr/local/lib -L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49 -lgsl -lcblas -lblas -lm -lox -lmpfr -lgmp -lgc" |
# LIBS="-L../../lib -L/usr/local/lib -L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49 -lgsl -lcblas -lblas -lm -lox -lmpfr -lgmp -lgc" |
CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include" |
LIBS_GCC="-L/usr/local/lib -L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49" |
|
LIBS_GSL=`gsl-config --libs` |
|
LIBS_OX="-L../../lib -lox -lmpfr -lgmp -lgc" |
|
LIBS="${LIBS_GCC} ${LIBS_GSL} ${LIBS_OX}" |
|
# CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include" |
|
CFLAGS_GSL=`gsl-config --cflags` |
|
CFLAGS="${CPPFLAGS} -Wno-attributes -I../../include -I /usr/local/include ${CFLAGS_GSL}" |
;; |
;; |
esac |
esac |
|
|