#---------------------------------------------
# makefile for creating GENESIS -  Cray X1
#---------------------------------------------
#
# compile options
#
FFLAG = -V -e m -p $(OPA)/modules
#
# directory 
#
VRAND_PATH =
#
#OPA = $(VRAND_PATH)/gen90/UNICOS
OPA = .
#
#
# fortran compiler name
#
FC = ftn
#
# object files 
#
OBJ = g00.o glba.o glbb.o gup.o
#
genesis.x : $(OBJ) 
	$(FC) $(FFLAG) -o $@ $(OBJ) -L$(OPA) -lgenesis
#
#
# creating object files
#
g00.o  : g00.f ; $(FC) -c $(FFLAG) g00.f 
glba.o : glba.f ; $(FC) -c $(FFLAG) glba.f  
glbb.o : glbb.f ; $(FC) -c $(FFLAG) glbb.f  
gup.o  : gup.f ; $(FC) -c $(FFLAG) gup.f  
#
