update and inclusion of listoflist transform code.
[CommonLispStat.git] / lib / Makefile.macosx
blob771a67be83411b462acb010d4a744a413b296367
1 ## -*- mode: Makefile -*-
2 ARCHS = -arch i386 -arch x86_64
3 SPEC_WARNINGS = -Wconversion -Wformat -Wshorten-64-to-32
5 LISPSTAT-SO = liblispstat.dylib
7 CDISTOBJS = betabase.o bivnor.o cdists.o gamln.o gammabase.o nor.o ppnd.o \
8         studentbase.o
10 CLINALGOBJS = cholesky.o linalgdata.o ludecomp.o complex.o svdecomp.o \
11         qrdecomp.o cfft.o clinalg.o rcondest.o kernel.o lowess.o splines.o \
12         makerotation.o eigen.o
14 CBAYESOBJS = cbayes.o functions.o derivatives.o minimize.o
16 CGLUE = cffi-glue.o
18 ## CFLAGS = -g -DINTPTR -fPIC -Wall
19 CFLAGS = -g -Wall $(ARCHS) $(SPEC_WARNINGS)
21 cffi : $(LISPSTAT-SO)
23 sbcl : clib.a
25 kcl: clib.a
27 excl: clib.a exclglue.o
29 clib.a: ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE)
30         ar rcv clib.a ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE)
31         ranlib clib.a
33 $(LISPSTAT-SO) :${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE)
34         gcc $(ARCHS) -dynamiclib -single_module -undefined dynamic_lookup -o $(LISPSTAT-SO)  ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS}  $(CGLUE)
36 clean:
37         rm -f ${CDISTOBJS} ${CLINALGOBJS} ${CBAYESOBJS} $(CGLUE) *~
39 cleanall:
40         make clean
41         rm -f clib.a exclglue.o