[207] | 1 | # configure.arwp |
---|
| 2 | # |
---|
| 3 | # This file was automatically generated by the configure script in the |
---|
| 4 | # top level directory. You may make changes to the settings in this |
---|
| 5 | # file but be aware they will be overwritten each time you run configure. |
---|
| 6 | # Ordinarily, it is necessary to run configure once, when the code is |
---|
| 7 | # first installed. |
---|
| 8 | # |
---|
| 9 | # To permanently change options, change the settings for your platform |
---|
| 10 | # in the file arch/configure.defaults, the preamble, and the postamble - |
---|
| 11 | # then rerun configure. |
---|
| 12 | # |
---|
| 13 | |
---|
| 14 | .SUFFIXES: .F90 .f90 .F .f .c .o |
---|
| 15 | |
---|
| 16 | SHELL = /bin/sh |
---|
| 17 | |
---|
| 18 | # Listing of options that are usually independent of machine type. |
---|
| 19 | # When necessary, these are over-ridden by each architecture. |
---|
| 20 | |
---|
| 21 | ARFLAGS = |
---|
| 22 | |
---|
| 23 | PERL = perl |
---|
| 24 | |
---|
| 25 | RANLIB = echo |
---|
| 26 | |
---|
| 27 | WRF_DIR = ../WRFV2 |
---|
| 28 | |
---|
| 29 | #### Architecture specific settings #### |
---|
| 30 | |
---|
| 31 | # Settings for PC Linux i486 i586 i686 x86_64, PGI compiler (no vis5d) |
---|
| 32 | # |
---|
| 33 | FC = pgf90 |
---|
| 34 | FFLAGS = -Mfree -byteswapio -O |
---|
| 35 | F77FLAGS = -byteswapio -O |
---|
| 36 | FNGFLAGS = $(FFLAGS) |
---|
| 37 | LDFLAGS = |
---|
| 38 | CC = gcc |
---|
| 39 | CFLAGS = -O |
---|
| 40 | CPP = /lib/cpp -C -P -traditional |
---|
| 41 | CPPFLAGS = -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4 -Dbytesw |
---|
| 42 | |
---|
| 43 | ########################################################### |
---|
| 44 | # |
---|
| 45 | # Macros, these should be generic for all machines |
---|
| 46 | |
---|
| 47 | LN = ln -sf |
---|
| 48 | MAKE = make -i -r |
---|
| 49 | RM = /bin/rm -f |
---|
| 50 | CP = /bin/cp |
---|
| 51 | AR = ar ru |
---|
| 52 | |
---|
| 53 | WRF_INCLUDE = -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_netcdf \ |
---|
| 54 | -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_grib_share \ |
---|
| 55 | -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_grib1 \ |
---|
| 56 | -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_int \ |
---|
| 57 | -I${WRF_DIR_PRE}$(WRF_DIR)/inc |
---|
| 58 | |
---|
| 59 | .IGNORE: |
---|
| 60 | .SUFFIXES: .c .f90 .F90 .f .F .o |
---|
| 61 | |
---|
| 62 | # There is probably no reason to modify these rules |
---|
| 63 | |
---|
| 64 | .c.o: |
---|
| 65 | $(RM) $@ |
---|
| 66 | $(CC) $(CPPFLAGS) $(CFLAGS) -c $< |
---|
| 67 | |
---|
| 68 | .f90.o: |
---|
| 69 | $(RM) $@ $*.mod |
---|
| 70 | $(CP) $< $*.f |
---|
| 71 | $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE) |
---|
| 72 | $(RM) $*.f |
---|
| 73 | |
---|
| 74 | .F90.o: |
---|
| 75 | $(RM) $@ $*.mod |
---|
| 76 | $(CPP) $(CPPFLAGS) $(FDEFS) $(WRF_INCLUDE) $< > $*.f |
---|
| 77 | $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE) |
---|
| 78 | $(RM) $*.f |
---|