SHELL=/bin/csh
#
FLNM= timescdf
USER= foster
USERUC= FOSTER
NEWLIB= $(FLNM).a
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 -L/lib,/usr/lib,/usr/local/lib -lnetcdf
#LDFLAGS= -i /u0/$(USER)/segdir
LIBS= gettimes.a
COMMAND=$(FLNM).ymp
PROFLIB=
MSSRCPATH=/$(USERUC)/src/timescdf
TARFILE=$(FLNM).tar
TDIR=/d/$(USER)/$(FLNM)
LIST = $(FLNM).list
#
# All fortran source code files for this job:
FSRCS= \
timescdf.f mkcdf.f setgrid.f getinp.f tail.f lenstr.f blkcdf.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
