# configure.arwp # # This file was automatically generated by the configure script in the # top level directory. You may make changes to the settings in this # file but be aware they will be overwritten each time you run configure. # Ordinarily, it is necessary to run configure once, when the code is # first installed. # # To permanently change options, change the settings for your platform # in the file arch/configure.defaults, the preamble, and the postamble - # then rerun configure. # .SUFFIXES: .F90 .f90 .F .f .c .o SHELL = /bin/sh # Listing of options that are usually independent of machine type. # When necessary, these are over-ridden by each architecture. ARFLAGS = PERL = perl RANLIB = echo WRF_DIR = ../WRFV2 #### Architecture specific settings #### # Settings for PC Linux i486 i586 i686 x86_64, PGI compiler (no vis5d) # FC = pgf90 FFLAGS = -Mfree -byteswapio -O F77FLAGS = -byteswapio -O FNGFLAGS = $(FFLAGS) LDFLAGS = CC = gcc CFLAGS = -O CPP = /lib/cpp -C -P -traditional CPPFLAGS = -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4 -Dbytesw ########################################################### # # Macros, these should be generic for all machines LN = ln -sf MAKE = make -i -r RM = /bin/rm -f CP = /bin/cp AR = ar ru WRF_INCLUDE = -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_netcdf \ -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_grib_share \ -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_grib1 \ -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_int \ -I${WRF_DIR_PRE}$(WRF_DIR)/inc .IGNORE: .SUFFIXES: .c .f90 .F90 .f .F .o # There is probably no reason to modify these rules .c.o: $(RM) $@ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< .f90.o: $(RM) $@ $*.mod $(CP) $< $*.f $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE) $(RM) $*.f .F90.o: $(RM) $@ $*.mod $(CPP) $(CPPFLAGS) $(FDEFS) $(WRF_INCLUDE) $< > $*.f $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE) $(RM) $*.f