[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.2, Thu Mar 29 11:52:17 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.1: +7 -6 lines

The complex gamma function implemented in GSL is installed.
Ex.
ox_launch(0,"/Users/nobuki/OX4/OpenXM/src/ox_gsl/ox_gsl");
0
[1916] ox_cmo_rpc(0,"gsl_sf_lngamma_complex_e",3,0); ox_pop_cmo(0);
0
[1917] [0.693147,0,0]   [log( |Gamma(z)| ), arg( Gamma(z)), status]
[1918] ox_cmo_rpc(0,"gsl_sf_lngamma_complex_e",3,2); ox_pop_cmo(0);
0
[1919] [4.44406e+15,2.32392,0]
CVS ----------------------------------------------------------------------

MYLIB=-L../../lib -L/usr/local/lib
MYINCLUDE=-I../../include -I/usr/local/include
all: ox_gsl

ox_gsl: ox_gsl.o call_gsl.o
	${CC} -o ox_gsl ox_gsl.o call_gsl.o ${MYLIB} -lgsl -lox -lgmp -lgc

.c.o: ox_gsl.h
	${CC} ${MYINCLUDE}  -c -g $<

clean:
	rm -f *.o *~ ox_gsl

# $OpenXM: OpenXM/src/ox_gsl/Makefile,v 1.2 2018/03/29 11:52:17 takayama Exp $