version 1.2, 2018/03/29 11:52:17 |
version 1.4, 2018/04/04 01:03:59 |
|
|
MYLIB=-L../../lib -L/usr/local/lib |
MYLIB=-L../../lib -L/usr/local/lib |
MYINCLUDE=-I../../include -I/usr/local/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 call_gsl.o |
ox_gsl: ox_gsl.o call_gsl.o ox_eval.o |
${CC} -o ox_gsl ox_gsl.o call_gsl.o ${MYLIB} -lgsl -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: ox_gsl.h |
.c.o: ox_gsl.h |
${CC} ${MYINCLUDE} -c -g $< |
${CC} ${CFLAGS} ${MYINCLUDE} -c -g $< |
|
|
clean: |
clean: |
rm -f *.o *~ ox_gsl |
rm -f *.o *~ ox_gsl |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/src/ox_gsl/Makefile,v 1.3 2018/03/30 04:43:16 takayama Exp $ |