2 # These sub-directory builds are identical across all architectures
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) " )
9 # Macros, these should be generic for all machines
15 # There is probably no reason to modify these rules
18 ( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \
19 $(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" )
23 $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.F > $@
24 mv $*.i $(DEVTOP)/pick/$*.f90
25 cp $*.F $(DEVTOP)/pick
29 $(SED_FTN) $*.F > $*.b
30 $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $*.f90
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 ; \
36 #PGI if [ ! -e $@ ] ; then \
37 #PGI sleep 10 ; $(FC) -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90 ; \
42 $(SED_FTN) $*.F > $*.b
43 $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $@
48 $(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90
49 #PGI if [ ! -e $@ ] ; then \
50 #PGI sleep 10 ; $(FC) -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90 ; \
52 #PGI if [ ! -e $@ ] ; then \
53 #PGI sleep 10 ; $(FC) -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90 ; \
58 $(CC) -o $@ -c $(CFLAGS) $*.c