[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / hgm / gsl-t-1 / src

File: [local] / OpenXM / src / hgm / gsl-t-1 / src / Makefile (download)

Revision 1.3, Tue Apr 8 11:17:59 2014 UTC (10 years, 2 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b
Changes since 1.2: +4 -1 lines

The bug of t-gsl seems also be fixed with declaring
double gsl_coerce_double(double t) in t-evolve.c.

#CC=gcc
AR=ar
RANLIB=ranlib
OBJS=t-control.o t-cstd.o t-evolve.o t-rkf45.o t-step.o t-coerce.o t-error.o 
.c.o: 
	${CC} -c -O2 $<
gsl-t-1.a: ${OBJS}
	if [ ${AR} = ar ]; then \
	ar ru gsl-t-1.a *.o ; \
	else \
	libtool -static -o gsl-t-1.a *.o ; \
	fi
	${RANLIB} gsl-t-1.a

clean:
	rm -f *.o *~ gsl-t-1.a

# Only the MacOS X accepts the above libtool options.
## test implementation including the minimum codes from the gsl 4.47
## @s/2012/12/23-gsl* (gsl 4.47 code).  See ode-initval, err, sys
## h-mle/SO/Prog/hgm

#gsl_errno.h, gsl_math.h, gsl_matrix.h, gsl_odeiv.h, gsl_sys.h