OBJ= precision.o  constants.o channels.o gauss.o  coul90.o system.o potnp.o  input.o\
   bound.o main.o


# Laptop
 LIB =-L  /opt/local/lib -llapack -L ../NNpotentiale -l potnn
#LIB = -L ../lapack-3.5.0 -lrefblas -llapack  
 
F90 = gfortran  -I../NNpotentiale
FFLAGS = -O2 -Wtabs   -ffixed-line-length-0  

.SUFFIXES: .F90 .f90 .f95

all: bound


bound:  $(OBJ)
	$(F90) -o npbound $(FFLAGS) $(OBJ) $(LIB)




.F90.o          :
	$(F90) $(FFLAGS) -c $<

.f95.o          :
	$(F90) $(FFLAGS) -c $<

.F.o          :
	$(F90) $(FFLAGS) -c $<

.f.o          :
	$(F90) $(FFLAGS) -c $<


clean: 
	rm -f npbound $(objectsbound) $(objectsscatt) *.mod core *.o 


