#FC = pgf90 -byteswapio FC = ifort OPT = # make -j 16 run faster # following for Itanium 2 XFLAGS = FFLAGS = -O -xHost -ftz -fpp -I $(NETCDF_ROOT)/include LIBS = -L $(NETCDF_ROOT)/lib -lnetcdf -lnetcdff LDFLAGS = .SUFFIXES: .f90 .o .for .f90.o: $(FC) $(FFLAGS) -c $*.f90 .for.o: $(FC) $(FFLAGS) -c $*.for all: tcdetect tcdetect: tcdetect.o module_datedef.o ratpe.o ratva.o rat2d.o sub_tcdetect.o search_center.o $(FC) $(FFLAGS) $(OBJ) $(LDFLAGS) $(LIBS) -o tcdetect.exe tcdetect.o module_datedef.o ratpe.o ratva.o rat2d.o search_center.o \ sub_tcdetect.o pre_proc_regcm.o: pre_proc_regcm.f90 module_datedef.o sub_sigma2p.o module_datedef.o: module_datedef.f90 sub_sigma2p.o: sub_sigma2p.for tcdetect.o: a.f90 module_datedef.o search_center.o: search_center.for ratpe.o: ratpe.for ratva.o: ratva.for rat2d.o: rat2d.for sub_tcdetect.o:sub_tcdetect.f90 clean: rm *.o *.mod