source: trunk/MESOSCALE/LMD_MM_MARS/SRC/WPS/arch/postamble @ 214

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

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

File size: 879 bytes
Line 
1#
2#       Macros, these should be generic for all machines
3
4LN              =       ln -sf
5MAKE            =       make -i -r
6RM              =       /bin/rm -f
7CP              =       /bin/cp
8AR              =       ar ru
9
10WRF_INCLUDE     =       -I$(WRF_DIR)/external/io_netcdf \
11                        -I$(WRF_DIR)/external/io_grib_share \
12                        -I$(WRF_DIR)/external/io_grib1 \
13                        -I$(WRF_DIR)/external/io_int \
14                        -I$(WRF_DIR)/inc
15
16.IGNORE:
17.SUFFIXES: .c .f90 .F90 .f .F .o
18
19#       There is probably no reason to modify these rules
20
21.c.o:
22        $(RM) $@
23        $(CC) $(CPPFLAGS) $(CFLAGS) -c $<       
24
25.f90.o:
26        $(RM) $@ $*.mod
27        $(CP) $< $*.f
28        $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE)
29        $(RM) $*.f
30
31.f.o:
32        $(RM) $@ $*.mod
33        $(FC) $(F77FLAGS) -c $< $(WRF_INCLUDE)
34
35.F90.o:
36        $(RM) $@ $*.mod
37        $(CPP) $(CPPFLAGS) $(FDEFS) $(WRF_INCLUDE) $< > $*.f
38        $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE)
39        $(RM) $*.f
40
41.F.o:
42        $(RM) $@ $*.mod
43        $(CPP) $(CPPFLAGS) $(FDEFS) $(WRF_INCLUDE) $< > $*.f
44        $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE)
45        $(RM) $*.f
Note: See TracBrowser for help on using the repository browser.