FC=gfortran
FOPTS=-O 
cn: sccn.o cn_prop_noke1.o ludcmp.o lubksb.o \
	potn.o splint.o spline.o 
	$(FC) -o cn $(FOPTS) sccn.o ludcmp.o \
	lubksb.o cn_prop_noke1.o potn.o splint.o \
	spline.o 

sccn.o:
	$(FC) $(FOPTS) -c sccn.f
cn_prop_noke1.o:
	$(FC) $(FOPTS) -c cn_prop_noke1.f
ludcmp.o:
	$(FC) $(FOPTS) -c ludcmp.f
lubksb.o:
	$(FC) $(FOPTS) -c lubksb.f
potn.o:
	$(FC) $(FOPTS) -c potn.f
splint.o:
	$(FC) $(FOPTS) -c splint.f
spline.o:
	$(FC) $(FOPTS) -c spline.f


clean:
	/bin/rm  sccn.o ludcmp.o core sccn 
