source: trunk/mesoscale/LMD_MM_MARS/SRC/ARWpost/configure.arwp @ 11

Last change on this file since 11 was 11, checked in by aslmd, 14 years ago

spiga@svn-planeto:ajoute le modele meso-echelle martien

File size: 1.9 KB
Line 
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
16SHELL                   =       /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
21ARFLAGS                 =       
22
23PERL                    =       perl
24
25RANLIB                  =       echo
26
27WRF_DIR                 =       ../WRFV2
28
29#### Architecture specific settings ####
30
31# Settings for PC Linux i486 i586 i686 x86_64, PGI compiler     (no vis5d)
32#
33FC              =       pgf90
34FFLAGS          =       -Mfree -byteswapio -O
35F77FLAGS        =       -byteswapio -O
36FNGFLAGS        =       $(FFLAGS)
37LDFLAGS         =       
38CC              =       gcc
39CFLAGS          =       -O
40CPP             =       /lib/cpp -C -P -traditional
41CPPFLAGS        =       -DIO_NETCDF -DIO_GRIB1 -DIO_BINARY -DRECL4 -Dbytesw
42
43###########################################################
44#
45#       Macros, these should be generic for all machines
46
47LN              =       ln -sf
48MAKE            =       make -i -r
49RM              =       /bin/rm -f
50CP              =       /bin/cp
51AR              =       ar ru
52
53WRF_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
Note: See TracBrowser for help on using the repository browser.