Last change
on this file since 354 was
1,
checked in by lfita, 10 years ago
|
- -- --- Opening of the WRF+LMDZ coupling repository --- -- -
WRF: version v3.3
LMDZ: version v1818
More details in:
|
File size:
1.5 KB
|
Line | |
---|
1 | |
---|
2 | # These sub-directory builds are identical across all architectures |
---|
3 | wrfio_esmf : |
---|
4 | ( cd $(WRF_SRC_ROOT_DIR)/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 $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \ |
---|
19 | $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" ) |
---|
20 | |
---|
21 | .F.i: |
---|
22 | $(RM) $@ |
---|
23 | $(CPP) -I$(WRF_SRC_ROOT_DIR)/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$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $*.f90 |
---|
31 | $(RM) $*.b |
---|
32 | $(FC) -o $@ -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$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $@ |
---|
44 | $(RM) $*.b |
---|
45 | |
---|
46 | .f90.o: |
---|
47 | $(RM) $@ |
---|
48 | $(FC) -o $@ -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) -o $@ -c $(CFLAGS) $*.c |
---|
59 | |
---|
Note: See
TracBrowser
for help on using the repository browser.