SHELL=/bin/csh # # Use the command "make ARCH=xyz", where xyz is ARCH, i.e., # ARCH=jse for ouray.ucar.edu # ARCH=j90 for paiute # ARCH=c90 for antero # This is to link in the proper usr libs from the file server. # COMMAND= rdgpi CF= f90 FFLAGS= ARCH = jse USRPATH = /fs/othrorgs/home0/foster/tgcmvis/lib_${ARCH} USRLIBS= $(USRPATH)/util.a $(USRPATH)/plt.a LIBPATH= -L/usr/local/lib NCGLIBS= -lhlu -lncarg -lncarg_gks -lncarg_c -lX11 SYSLIBS= -lm -lmss # # All fortran source code files for this job: FSRCS= \ rdgpi.f getinp.f iydpack.f getmss.f wrdata.f lexwrt.f # # Object code for this job (like SRCS but with .o suffix) OBJS= $(FSRCS:.f=.o) # # Make shavano executable (made from cjob): # $(COMMAND): $(OBJS) $(CF) -o $(COMMAND) $(OBJS) $(USRLIBS) $(LIBPATH) $(NCGLIBS) \ $(SYSLIBS) # # 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 #