source: trunk/mesoscale/LMD_MM_MARS/SRC/ARWpost/arch/postamble @ 13

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

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

File size: 755 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_PRE}$(WRF_DIR)/external/io_netcdf \
11                        -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_grib_share \
12                        -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_grib1 \
13                        -I${WRF_DIR_PRE}$(WRF_DIR)/external/io_int \
14                        -I${WRF_DIR_PRE}$(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.F90.o:
32        $(RM) $@ $*.mod
33        $(CPP) $(CPPFLAGS) $(FDEFS) $(WRF_INCLUDE) $< > $*.f
34        $(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE)
35        $(RM) $*.f
Note: See TracBrowser for help on using the repository browser.