SHELL=/bin/csh
#
FLNM= timesclay
USER= foster
USERUC= FOSTER
CFT=	cft77
FFLAGS= -Wf"-ez -Rb -Rc -o off"
#FFLAGS=
LDR=	segldr
LDFLAGS= -D dupentry=ignore -i /u0/$(USER)/segdir
LIBS= gettimes.a
COMMAND=$(FLNM).ymp
#
# All fortran source code files for this job:
#
FSRCS=	clayers.f claylib.f getinp.f pltlay.f ixfind.f mkrgb.f \
	fminmax.f blkdatclay.f lenstr.f log10f.f box.f setgrid.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 shavano:
clean:
	rm gmeta *.ymp M* *.f *.o *.h *.tar *.inp core
