[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_gsl

File: [local] / OpenXM / src / ox_gsl / Attic / Makefile (download)

Revision 1.4, Wed Apr 4 01:03:59 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.3: +6 -3 lines

ox_eval.c is linked to ox_gsl.
Pid=ox_launch(0,getenv("OpenXM_HOME")+"/src/ox_gsl/ox_gsl");
ox_cmo_rpc(Pid,"test_ox_eval",quote(x+1));
ox_pop_cmo(Pid);
does not return the correct value. We need debugs.

MYLIB=-L../../lib -L/usr/local/lib
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

ox_gsl: ox_gsl.o call_gsl.o ox_eval.o
	${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
	${CC} ${CFLAGS} ${MYINCLUDE}  -c -g $<

clean:
	rm -f *.o *~ ox_gsl

# $OpenXM: OpenXM/src/ox_gsl/Makefile,v 1.4 2018/04/04 01:03:59 takayama Exp $