lisp-stat-model package (still need to add to ASDF).
[CommonLispStat.git] / lib / Makefile
blobfcc0ee65a74d713dd3517ca75ec33e5bc827fba4
1 ## -*- mode: Makefile -*-
3 LISPSTAT-SO = liblispstat.so
5 CDISTOBJS = betabase.o bivnor.o cdists.o gamln.o gammabase.o nor.o ppnd.o \
6 studentbase.o
8 CLINALGOBJS = cholesky.o linalgdata.o ludecomp.o complex.o svdecomp.o \
9 qrdecomp.o cfft.o clinalg.o rcondest.o kernel.o lowess.o splines.o \
10 makerotation.o eigen.o
12 CBAYESOBJS = cbayes.o functions.o derivatives.o minimize.o
14 CGLUE = cffi-glue.o
16 ## CFLAGS = -g -DINTPTR -fPIC -Wall
17 CFLAGS = -g -Wall
19 cffi : $(LISPSTAT-SO)
21 sbcl : clib.a
23 kcl: clib.a
25 excl: clib.a exclglue.o
27 clib.a: ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE)
28 ar rcv clib.a ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE)
29 ranlib clib.a
31 $(LISPSTAT-SO) :${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE)
32 gcc -shared -o $(LISPSTAT-SO) ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE)
34 clean:
35 rm -f ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE) *~
37 cleanall:
38 make clean
39 rm -f clib.a exclglue.o