version 1.3, 2018/03/30 04:43:16 |
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 |
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 |
#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} ${CFLAGS} -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} ${CFLAGS} ${MYINCLUDE} -c -g $< |
${CC} ${CFLAGS} ${MYINCLUDE} -c -g $< |
Line 13 ox_gsl: ox_gsl.o call_gsl.o |
|
Line 16 ox_gsl: ox_gsl.o call_gsl.o |
|
clean: |
clean: |
rm -f *.o *~ ox_gsl |
rm -f *.o *~ ox_gsl |
|
|
# $OpenXM: OpenXM/src/ox_gsl/Makefile,v 1.2 2018/03/29 11:52:17 takayama Exp $ |
# $OpenXM: OpenXM/src/ox_gsl/Makefile,v 1.3 2018/03/30 04:43:16 takayama Exp $ |