# Makefile for Recipes: BSD UNIX distribution
#

CC = gcc
#gcc has been found to be the best bet

# Important system parameters
CFLAGS = -O -I../include/
# Use -O if you trust your optimizer, and
# -g to make a debugging version of this library
# See the document COMPILING and your system documentation for information
# on values to use here.

# Library names . . .
CANSILIB = ../librecipes_c.a

AR = /usr/bin/ar
ARFLAGS = crv

RANLIB = $(AR) -ts
# IMPORTANT: Ranlib is now obsolete. The above only for compatibility. If
# this creates problems, try following substitution in this make machinery :
# RANLIB = ranlib

OBJS =	addint.o airy.o amebsa.o amoeba.o amotry.o amotsa.o anneal.o \
	anorm2.o arcmak.o arcode.o arcsum.o asolve.o atimes.o avevar.o \
	balanc.o banbks.o bandec.o banmul.o bcucof.o bcuint.o beschb.o \
	bessi.o bessi0.o bessi1.o bessik.o bessj.o bessj0.o bessj1.o \
	bessjy.o bessk.o bessk0.o bessk1.o bessy.o bessy0.o bessy1.o \
	beta.o betacf.o betai.o bico.o bksub.o bnldev.o brent.o broydn.o \
	bsstep.o caldat.o chder.o chebev.o chebft.o chebpc.o chint.o \
	chixy.o choldc.o cholsl.o chsone.o chstwo.o cisi.o complex.o cntab1.o \
	cntab2.o convlv.o copy.o correl.o cosft1.o cosft2.o covsrt.o \
	crank.o cyclic.o daub4.o dawson.o dbrent.o ddpoly.o decchk.o \
	df1dim.o dfour1.o dfpmin.o dfridr.o dftcor.o dftint.o difeq.o \
	dlinmin.o dpythag.o drealft.o dsprsax.o dsprstx.o dsvbksb.o \
	dsvdcmp.o eclass.o eclazz.o ei.o eigsrt.o elle.o ellf.o ellpi.o \
	elmhes.o erfcc.o erff.o erffc.o eulsum.o evlmem.o expdev.o \
	expint.o f1dim.o factln.o factrl.o fasper.o fdjac.o fgauss.o \
	fill0.o fit.o fitexy.o fixrts.o fleg.o flmoon.o fmin.o four1.o \
	fourew.o fourfs.o fourn.o fpoly.o fred2.o fredin.o frenel.o \
	frprmn.o ftest.o gamdev.o gammln.o gammp.o gammq.o gasdev.o \
	gaucof.o gauher.o gaujac.o gaulag.o gauleg.o gaussj.o gcf.o \
	golden.o gser.o hpsel.o hpsort.o hqr.o hufapp.o hufdec.o \
	hufenc.o hufmak.o hunt.o hypdrv.o hypgeo.o hypser.o icrc.o \
	icrc1.o igray.o iindexx.o indexx.o interp.o irbit1.o irbit2.o \
	jacobi.o jacobn.o julday.o kendl1.o kendl2.o kermom.o ks2d1s.o \
	ks2d2s.o ksone.o kstwo.o laguer.o lfit.o linbcg.o linmin.o \
	lnsrch.o locate.o lop.o lubksb.o ludcmp.o machar.o matadd.o \
	matsub.o medfit.o memcof.o metrop.o mgfas.o mglin.o midexp.o \
	midinf.o midpnt.o midsql.o midsqu.o miser.o mmid.o mnbrak.o \
	mnewt.o moment.o mp2dfr.o mpdiv.o mpinv.o mpmul.o mpops.o mppi.o \
	mprove.o mpsqrt.o mrqcof.o mrqmin.o newt.o nrutil.o odeint.o orthog.o \
	pade.o pccheb.o pcshft.o pearsn.o period.o piksr2.o piksrt.o \
	pinvs.o plgndr.o poidev.o polcoe.o polcof.o poldiv.o polin2.o \
	polint.o powell.o predic.o probks.o psdes.o pwt.o pwtset.o \
	pythag.o pzextr.o qgaus.o qrdcmp.o qromb.o qromo.o qroot.o \
	qrsolv.o qrupdt.o qsimp.o qtrap.o quad3d.o quadct.o quadmx.o \
	quadvl.o ran0.o ran1.o ran2.o ran3.o ran4.o rank.o ranpt.o \
	ratint.o ratlsq.o ratval.o rc.o rd.o realft.o rebin.o red.o \
	relax.o relax2.o resid.o revcst.o reverse.o rf.o rj.o rk4.o \
	rkck.o rkdumb.o rkqs.o rlft3.o rofunc.o rotate.o rsolv.o \
	rstrct.o rtbis.o rtflsp.o rtnewt.o rtsafe.o rtsec.o rzextr.o \
	savgol.o scrsho.o nrselect.o selip.o shell.o shoot.o shootf.o \
	simp1.o simp2.o simp3.o simplx.o simpr.o sinft.o slvsm2.o \
	slvsml.o sncndn.o snrm.o sobseq.o solvde.o sor.o sort.o sort2.o \
	sort3.o spctrm.o spear.o sphbes.o splie2.o splin2.o spline.o \
	splint.o spread.o sprsax.o sprsin.o sprspm.o sprstm.o sprstp.o \
	sprstx.o stifbs.o stiff.o stoerm.o svbksb.o svdcmp.o svdfit.o \
	svdvar.o toeplz.o tptest.o tqli.o trapzd.o tred2.o tridag.o \
	trncst.o trnspt.o ttest.o tutest.o twofft.o vander.o vegas.o \
	voltra.o wt1.o wtn.o wwghts.o zbrac.o zbrak.o zbrent.o zrhqr.o \
	zriddr.o zroots.o

#If any of the above have problems with an optimization option or other
#compiler flags, a specific rule will be needed for them. This is very
#simple to write. For example, for svdcmp (which sometimes has problems
#with optimizers), a very plain rule is:
#svdcmp.o: svdcmp.c ; $(CC) -I../include -c $<
#Uncomment or write analogously for other recipes as needed.

all: $(CANSILIB)

$(CANSILIB): $(OBJS)
	$(AR) $(ARFLAGS) $(CANSILIB) $(OBJS)
	$(RANLIB) $(CANSILIB)

clean:	
	/bin/rm -f *.o
# DO NOT DELETE THIS LINE -- make depend depends on it.

airy.o: /usr/include/math.h
amebsa.o: /usr/include/math.h ../include/nrutil.h
amoeba.o: /usr/include/math.h ../include/nrutil.h
amotry.o: ../include/nrutil.h
amotsa.o: /usr/include/math.h ../include/nrutil.h
anneal.o: /usr/include/stdio.h /usr/include/math.h
anorm2.o: /usr/include/math.h
arcmak.o: ../include/nrutil.h /usr/include/limits.h
arcode.o: /usr/include/stdio.h /usr/include/stdlib.h
badluk.o: /usr/include/stdio.h /usr/include/math.h
balanc.o: /usr/include/math.h
bandec.o: /usr/include/math.h
banmul.o: ../include/nrutil.h
bcuint.o: ../include/nrutil.h
bessi.o: /usr/include/math.h
bessi0.o: /usr/include/math.h
bessi1.o: /usr/include/math.h
bessik.o: /usr/include/math.h
bessj.o: /usr/include/math.h
bessj0.o: /usr/include/math.h
bessj1.o: /usr/include/math.h
bessjy.o: /usr/include/math.h ../include/nrutil.h
bessk0.o: /usr/include/math.h
bessk1.o: /usr/include/math.h
bessy0.o: /usr/include/math.h
bessy1.o: /usr/include/math.h
beta.o: /usr/include/math.h
betacf.o: /usr/include/math.h
betai.o: /usr/include/math.h
bico.o: /usr/include/math.h
bnldev.o: /usr/include/math.h
brent.o: /usr/include/math.h ../include/nrutil.h
broydn.o: /usr/include/math.h ../include/nrutil.h
bsstep.o: /usr/include/math.h ../include/nrutil.h
caldat.o: /usr/include/math.h
chebft.o: /usr/include/math.h ../include/nrutil.h
chebpc.o: ../include/nrutil.h
chixy.o: /usr/include/math.h ../include/nrutil.h
choldc.o: /usr/include/math.h
cisi.o: /usr/include/math.h ../include/complex.h
cntab1.o: /usr/include/math.h ../include/nrutil.h
cntab2.o: /usr/include/math.h ../include/nrutil.h
complex.o: /usr/include/math.h
convlv.o: ../include/nrutil.h
correl.o: ../include/nrutil.h
cosft1.o: /usr/include/math.h
cosft2.o: /usr/include/math.h
cyclic.o: ../include/nrutil.h
daub4.o: ../include/nrutil.h
dawson.o: /usr/include/math.h ../include/nrutil.h
dbrent.o: /usr/include/math.h ../include/nrutil.h
df1dim.o: ../include/nrutil.h
dfour1.o: /usr/include/math.h
dfpmin.o: /usr/include/math.h ../include/nrutil.h
dfridr.o: /usr/include/math.h ../include/nrutil.h
dftcor.o: /usr/include/math.h
dftint.o: /usr/include/math.h ../include/nrutil.h
dlinmin.o: ../include/nrutil.h
dpythag.o: /usr/include/math.h ../include/nrutil.h
drealft.o: /usr/include/math.h
dsvbksb.o: ../include/nrutil.h
dsvdcmp.o: /usr/include/math.h ../include/nrutil.h
ei.o: /usr/include/math.h
elle.o: /usr/include/math.h ../include/nrutil.h
ellf.o: /usr/include/math.h ../include/nrutil.h
ellpi.o: /usr/include/math.h ../include/nrutil.h
elmhes.o: /usr/include/math.h
erfcc.o: /usr/include/math.h
eulsum.o: /usr/include/math.h
evlmem.o: /usr/include/math.h
expdev.o: /usr/include/math.h
expint.o: /usr/include/math.h
f1dim.o: ../include/nrutil.h
factrl.o: /usr/include/math.h
fasper.o: /usr/include/math.h ../include/nrutil.h
fdjac.o: /usr/include/math.h ../include/nrutil.h
fgauss.o: /usr/include/math.h
fit.o: /usr/include/math.h ../include/nrutil.h
fitexy.o: /usr/include/math.h ../include/nrutil.h
fixrts.o: /usr/include/math.h ../include/complex.h
flmoon.o: /usr/include/math.h
fmin.o: ../include/nrutil.h
four1.o: /usr/include/math.h
fourew.o: /usr/include/stdio.h
fourfs.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
fourn.o: /usr/include/math.h
fred2.o: ../include/nrutil.h
fredex.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
frenel.o: /usr/include/math.h ../include/complex.h
frprmn.o: /usr/include/math.h ../include/nrutil.h
gamdev.o: /usr/include/math.h
gammln.o: /usr/include/math.h
gasdev.o: /usr/include/math.h
gaucof.o: /usr/include/math.h ../include/nrutil.h
gauher.o: /usr/include/math.h
gaujac.o: /usr/include/math.h
gaulag.o: /usr/include/math.h
gauleg.o: /usr/include/math.h
gaussj.o: /usr/include/math.h ../include/nrutil.h
gcf.o: /usr/include/math.h
golden.o: /usr/include/math.h
gser.o: /usr/include/math.h
hqr.o: /usr/include/math.h ../include/nrutil.h
hufenc.o: /usr/include/stdio.h /usr/include/stdlib.h
hufmak.o: ../include/nrutil.h
hypdrv.o: ../include/complex.h
hypgeo.o: /usr/include/math.h ../include/complex.h ../include/nrutil.h
hypser.o: ../include/complex.h
iindexx.o: ../include/nrutil.h
indexx.o: ../include/nrutil.h
jacobi.o: /usr/include/math.h ../include/nrutil.h
julday.o: /usr/include/math.h
kendl1.o: /usr/include/math.h
kendl2.o: /usr/include/math.h
kermom.o: /usr/include/math.h
ks2d1s.o: /usr/include/math.h ../include/nrutil.h
ks2d2s.o: /usr/include/math.h ../include/nrutil.h
ksone.o: /usr/include/math.h ../include/nrutil.h
kstwo.o: /usr/include/math.h
laguer.o: /usr/include/math.h ../include/complex.h ../include/nrutil.h
lfit.o: ../include/nrutil.h
linbcg.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
linmin.o: ../include/nrutil.h
lnsrch.o: /usr/include/math.h ../include/nrutil.h
ludcmp.o: /usr/include/math.h ../include/nrutil.h
machar.o: /usr/include/math.h
medfit.o: /usr/include/math.h ../include/nrutil.h
memcof.o: /usr/include/math.h ../include/nrutil.h
metrop.o: /usr/include/math.h
mgfas.o: ../include/nrutil.h
mglin.o: ../include/nrutil.h
midexp.o: /usr/include/math.h
midsql.o: /usr/include/math.h
midsqu.o: /usr/include/math.h
miser.o: /usr/include/stdlib.h /usr/include/math.h ../include/nrutil.h
mmid.o: ../include/nrutil.h
mnbrak.o: /usr/include/math.h ../include/nrutil.h
mnewt.o: /usr/include/math.h ../include/nrutil.h
moment.o: /usr/include/math.h
mpdiv.o: ../include/nrutil.h
mpinv.o: ../include/nrutil.h
mpmul.o: ../include/nrutil.h
mppi.o: /usr/include/stdio.h ../include/nrutil.h
mprove.o: ../include/nrutil.h
mpsqrt.o: /usr/include/math.h ../include/nrutil.h
mrqcof.o: ../include/nrutil.h
mrqmin.o: ../include/nrutil.h
newt.o: /usr/include/math.h ../include/nrutil.h
nrutil.o: /usr/include/stdio.h /usr/include/stdlib.h
odeint.o: /usr/include/math.h ../include/nrutil.h
orthog.o: ../include/nrutil.h
pade.o: /usr/include/math.h ../include/nrutil.h
pearsn.o: /usr/include/math.h
period.o: /usr/include/math.h ../include/nrutil.h
pinvs.o: /usr/include/math.h ../include/nrutil.h
plgndr.o: /usr/include/math.h
poidev.o: /usr/include/math.h
polcoe.o: ../include/nrutil.h
polcof.o: /usr/include/math.h ../include/nrutil.h
polin2.o: ../include/nrutil.h
polint.o: /usr/include/math.h ../include/nrutil.h
powell.o: /usr/include/math.h ../include/nrutil.h
predic.o: ../include/nrutil.h
probks.o: /usr/include/math.h
pwt.o: ../include/nrutil.h
pythag.o: /usr/include/math.h ../include/nrutil.h
pzextr.o: ../include/nrutil.h
qrdcmp.o: /usr/include/math.h ../include/nrutil.h
qromb.o: /usr/include/math.h
qromo.o: /usr/include/math.h
qroot.o: /usr/include/math.h ../include/nrutil.h
qrupdt.o: /usr/include/math.h ../include/nrutil.h
qsimp.o: /usr/include/math.h
qtrap.o: /usr/include/math.h
quadmx.o: /usr/include/math.h ../include/nrutil.h
quadvl.o: ../include/nrutil.h
ratint.o: /usr/include/math.h ../include/nrutil.h
ratlsq.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
rc.o: /usr/include/math.h ../include/nrutil.h
rd.o: /usr/include/math.h ../include/nrutil.h
realft.o: /usr/include/math.h
revcst.o: /usr/include/math.h
rf.o: /usr/include/math.h ../include/nrutil.h
rj.o: /usr/include/math.h ../include/nrutil.h
rk4.o: ../include/nrutil.h
rkck.o: ../include/nrutil.h
rkdumb.o: ../include/nrutil.h
rkqs.o: /usr/include/math.h ../include/nrutil.h
rlft3.o: /usr/include/math.h
rlftfrag.o: /usr/include/stdlib.h ../include/nrutil.h
rofunc.o: /usr/include/math.h ../include/nrutil.h
rotate.o: /usr/include/math.h ../include/nrutil.h
rtbis.o: /usr/include/math.h
rtflsp.o: /usr/include/math.h
rtnewt.o: /usr/include/math.h
rtsafe.o: /usr/include/math.h
rtsec.o: /usr/include/math.h
rzextr.o: ../include/nrutil.h
savgol.o: /usr/include/math.h ../include/nrutil.h
scrsho.o: /usr/include/stdio.h
selip.o: ../include/nrutil.h
sfroid.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
shoot.o: ../include/nrutil.h
shootf.o: ../include/nrutil.h
simp1.o: /usr/include/math.h
simplx.o: ../include/nrutil.h
simpr.o: ../include/nrutil.h
sinft.o: /usr/include/math.h
slvsm2.o: /usr/include/math.h
sncndn.o: /usr/include/math.h
snrm.o: /usr/include/math.h
sobseq.o: ../include/nrutil.h
solvde.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
sor.o: /usr/include/math.h
sort.o: ../include/nrutil.h
sort2.o: ../include/nrutil.h
sort3.o: ../include/nrutil.h
spctrm.o: /usr/include/math.h /usr/include/stdio.h ../include/nrutil.h
spear.o: /usr/include/math.h ../include/nrutil.h
sphbes.o: /usr/include/math.h
sphfpt.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
sphoot.o: /usr/include/stdio.h ../include/nrutil.h
splin2.o: ../include/nrutil.h
spline.o: ../include/nrutil.h
spread.o: ../include/nrutil.h
sprsin.o: /usr/include/math.h
sprstm.o: /usr/include/math.h
stifbs.o: /usr/include/math.h ../include/nrutil.h
stiff.o: /usr/include/math.h ../include/nrutil.h
stoerm.o: ../include/nrutil.h
svbksb.o: ../include/nrutil.h
svdcmp.o: /usr/include/math.h ../include/nrutil.h
svdfit.o: ../include/nrutil.h
svdvar.o: ../include/nrutil.h
toeplz.o: ../include/nrutil.h
tptest.o: /usr/include/math.h
tqli.o: /usr/include/math.h ../include/nrutil.h
tred2.o: /usr/include/math.h
tridag.o: ../include/nrutil.h
trncst.o: /usr/include/math.h
trnspt.o: ../include/nrutil.h
ttest.o: /usr/include/math.h
tutest.o: /usr/include/math.h ../include/nrutil.h
vander.o: ../include/nrutil.h
vegas.o: /usr/include/stdio.h /usr/include/math.h ../include/nrutil.h
voltra.o: ../include/nrutil.h
wtn.o: ../include/nrutil.h
zbrac.o: /usr/include/math.h
zbrent.o: /usr/include/math.h ../include/nrutil.h
zrhqr.o: ../include/nrutil.h
zriddr.o: /usr/include/math.h ../include/nrutil.h
zroots.o: /usr/include/math.h ../include/complex.h
