version 1.1, 2018/03/29 05:47:11 |
version 1.4, 2018/04/04 01:03:59 |
|
|
MYLIB=../../lib |
MYLIB=-L../../lib -L/usr/local/lib |
MYINCLUDE=../../include |
MYINCLUDE=-I../../include -I/usr/local/include |
|
CFLAGS=-Wno-attributes |
|
GSL_LIBS=-lgsl -lcblas -lblas -lm |
|
#GSL_LIBS=-lgsl # MacOS X |
|
BSD_OPT=-L/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib/gcc49 |
|
#CFLAGS=-Wno-unknown-attributes |
all: ox_gsl |
all: ox_gsl |
|
|
ox_gsl: ox_gsl.o |
ox_gsl: ox_gsl.o call_gsl.o ox_eval.o |
${CC} -o ox_gsl ox_gsl.o -L${MYLIB} -lox -lgmp -lgc |
${CC} ${CFLAGS} -o ox_gsl ox_gsl.o call_gsl.o ox_eval.o ${BSD_OPT} ${MYLIB} ${GSL_LIBS} -lox -lmpfr -lgmp -lgc |
|
|
.c.o: |
.c.o: ox_gsl.h |
${CC} -I${MYINCLUDE} -c -g $< |
${CC} ${CFLAGS} ${MYINCLUDE} -c -g $< |
|
|
clean: |
clean: |
rm -f *.o *~ ox_gsl |
rm -f *.o *~ ox_gsl |
|
|
|
# $OpenXM: OpenXM/src/ox_gsl/Makefile,v 1.3 2018/03/30 04:43:16 takayama Exp $ |