SHELL=/bin/csh
#
FLNM= thunder
USER= foster
CFT=	cft77
#FFLAGS= -Wf"-ez -Rb -Rc -o off"
#FFLAGS= -Wf"-ez -o off"
FFLAGS=	
LDR=	segldr
LDFLAGS= -D dupentry=ignore -i /u0/$(USER)/segdir
LIBS=getgcm.a
COMMAND=$(FLNM).ymp
#
# Fortran source code files for this job:
FSRCS= \
fipd_R.f getinp.f lowlay.f ltpbvp.f mbcntr.f mbsrfc.f mbvec.f \
polint.f scaleit.f sizeo.f thunder.f
#
# Object code for this job (like SRCS but with .o suffix)
OBJS= $(FSRCS:.f=.o)
#
# Make shavano executable (made from cjob):
#
$(COMMAND):	$(OBJS)
	$(LDR) $(LDFLAGS) -o $(COMMAND) $(OBJS) $(LIBS)
#
# flint is fortran source code analyzer on shavano:
#
lint:
	flint -fg $(FSRCS) 
clean:
	rm M* *.f *.h *.c *.tar *.inp *.out *.o *.ymp gmeta core
