# Generated automatically by createMakefiles.pl
 
SRCS =	

OBJS := $(SRCS:.f90=.o)

all: $(OBJS)

clean:
	rm -f $(OBJS) *.mod

.SUFFIXES: $(SUFFIXES) .f90

%.o: %.f90
	$(F90) $(F90FLAGS) -c $<


ifeq ($(strip $(ARCH)), SX)
mo_spitfire.o: mo_spitfire.f90
	$(F90) $(F90FLAGS) -pi auto exp=minmod exp=medan exp=putyslice exp=cfdot1dp2 exp=cfint1x2 line=2000 -c mo_spitfire.f90
mo_tpcore.o: mo_tpcore.f90
#warning: Don't change line to 2000. This will give wrong code on the SX!!!
	$(F90) $(F90FLAGS) -pi auto exp=xmist,fxppm,kmppm,lmppm,xtp noexp=map1_ppm_gp,ppm2m,steepz nest=3 line=1000 -c mo_tpcore.f90
mo_transpose.o: mo_transpose.f90
	$(F90) $(F90FLAGS) -Npi -c mo_transpose.f90
endif


ifeq ($(strip $(ARCH)), ES)
mo_spitfire.o: mo_spitfire.f90
	$(F90) $(F90FLAGS) -pi auto exp=minmod exp=medan exp=putyslice exp=cfdot1dp2 exp=cfint1x2 line=2000 -c mo_spitfire.f90
mo_tpcore.o: mo_tpcore.f90
#warning: Don't change line to 2000. This will give wrong code on the SX!!!
	$(F90) $(F90FLAGS) -pi auto exp=xmist,fxppm,kmppm,lmppm,xtp noexp=map1_ppm_gp,ppm2m,steepz nest=3 line=1000 -c mo_tpcore.f90
mo_transpose.o: mo_transpose.f90
	$(F90) $(F90FLAGS) -Npi -c mo_transpose.f90
endif

ifeq ($(strip $(ARCH)), CRAY_PVP)
mo_buffer_fft.o: mo_buffer_fft.f90
	$(F90) $(F90FLAGS) -Ovector1 -c mo_buffer_fft.f90
mo_grib.o: mo_grib.f90
	$(F90) $(F90FLAGS) -Ovector1 -c mo_grib.f90
endif

ifeq ($(strip $(ARCH)), CRAY_X1)
	$(F90) $(F90FLAGS) -Ovector1 -Oscalar1 -Ostream1 -c mo_io.f90
endif

ifeq ($(strip $(ARCH)), CRAY_XT3)
mo_transpose.o: mo_transpose.f90
	( F90FLAGS=" " ; $(F90) -O2  -c mo_transpose.f90 )
endif

ifeq ($(strip $(ARCH)), CRAY_XD1)
mo_transpose.o: mo_transpose.f90
	( F90FLAGS=" " ; $(F90) -O2  -c mo_transpose.f90 )
endif
