Last change
on this file since 3094 was
11,
checked in by aslmd, 14 years ago
|
spiga@svn-planeto:ajoute le modele meso-echelle martien
|
File size:
1.4 KB
|
Line | |
---|
1 | |
---|
2 | # These sub-directory builds are identical across all architectures |
---|
3 | wrfio_esmf : |
---|
4 | ( cd ../external/io_esmf ; \ |
---|
5 | make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " ) |
---|
6 | |
---|
7 | |
---|
8 | # |
---|
9 | # Macros, these should be generic for all machines |
---|
10 | |
---|
11 | LN = ln -sf |
---|
12 | MAKE = make -i -r |
---|
13 | RM = rm -f |
---|
14 | |
---|
15 | # There is probably no reason to modify these rules |
---|
16 | |
---|
17 | wrf_ioapi_includes : |
---|
18 | ( cd ../external/ioapi_share ; \ |
---|
19 | $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" ) |
---|
20 | |
---|
21 | .F.i: |
---|
22 | $(RM) $@ |
---|
23 | $(CPP) -I../inc $(CPPFLAGS) $*.F > $@ |
---|
24 | mv $*.i $(DEVTOP)/pick/$*.f90 |
---|
25 | cp $*.F $(DEVTOP)/pick |
---|
26 | |
---|
27 | .F.o: |
---|
28 | $(RM) $@ |
---|
29 | $(SED_FTN) $*.F > $*.b |
---|
30 | $(CPP) -I../inc $(CPPFLAGS) $*.b > $*.f90 |
---|
31 | $(RM) $*.b |
---|
32 | $(FC) -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90 |
---|
33 | #PGI if [ ! -e $@ ] ; then \ |
---|
34 | #PGI sleep 10 ; $(FC) -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90 ; \ |
---|
35 | #PGI fi |
---|
36 | #PGI if [ ! -e $@ ] ; then \ |
---|
37 | #PGI sleep 10 ; $(FC) -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90 ; \ |
---|
38 | #PGI fi |
---|
39 | |
---|
40 | .F.f90: |
---|
41 | $(RM) $@ |
---|
42 | $(SED_FTN) $*.F > $*.b |
---|
43 | $(CPP) -I../inc $(CPPFLAGS) $*.b > $@ |
---|
44 | $(RM) $*.b |
---|
45 | |
---|
46 | .f90.o: |
---|
47 | $(RM) $@ |
---|
48 | $(FC) -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90 |
---|
49 | #PGI if [ ! -e $@ ] ; then \ |
---|
50 | #PGI sleep 10 ; $(FC) -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90 ; \ |
---|
51 | #PGI fi |
---|
52 | #PGI if [ ! -e $@ ] ; then \ |
---|
53 | #PGI sleep 10 ; $(FC) -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90 ; \ |
---|
54 | #PGI fi |
---|
55 | |
---|
56 | .c.o: |
---|
57 | $(RM) $@ |
---|
58 | $(CC) -c $(CFLAGS) $*.c |
---|
59 | |
---|
Note: See
TracBrowser
for help on using the repository browser.