7 MODULES
= module_wrf_top.F
13 include ..
/configure.wrf
15 $(SOLVER
)_wrf
: wrf.o ..
/main
/module_wrf_top.o
16 $(RANLIB
) $(RLFLAGS
) $(LIBWRFLIB
)
17 $(LD
) -o wrf.exe
$(LDFLAGS
) wrf.o ..
/main
/module_wrf_top.o
$(LIBWRFLIB
) $(CMAQLIB
) $(LIB
)
19 $(SOLVER
)_wrfplus
: wrf.o ..
/main
/module_wrf_top.o
20 $(RANLIB
) $(RLFLAGS
) $(LIBWRFLIB
)
21 $(LD
) -o wrfplus.exe
$(LDFLAGS
) wrf.o ..
/main
/module_wrf_top.o
$(LIBWRFLIB
) $(LIB
)
23 $(SOLVER
)_wrf_SST_ESMF
: wrf_ESMFMod.o wrf_SST_ESMF.o ..
/main
/module_wrf_top.o
24 $(RANLIB
) $(RLFLAGS
) $(LIBWRFLIB
)
25 $(LD
) -o wrf_SST_ESMF.exe
$(LDFLAGS
) wrf_SST_ESMF.o wrf_ESMFMod.o ..
/main
/module_wrf_top.o
$(LIBWRFLIB
) $(LIB
)
27 $(SOLVER
)_ideal
: module_initialize ideal_
$(SOLVER
).o
28 $(RANLIB
) $(RLFLAGS
) $(LIBWRFLIB
)
29 $(LD
) -o ideal.exe
$(LDFLAGS
) ideal_
$(SOLVER
).o ..
/dyn_
$(SOLVER
)/module_initialize_
$(IDEAL_CASE
).o
$(LIBWRFLIB
) $(LIB
)
31 $(SOLVER
)_real
: module_initialize ndown_
$(SOLVER
).o tc_
$(SOLVER
).o real_
$(SOLVER
).o
32 $(RANLIB
) $(RLFLAGS
) $(LIBWRFLIB
)
33 $(LD
) -o ndown.exe
$(LDFLAGS
) ndown_
$(SOLVER
).o ..
/dyn_
$(SOLVER
)/module_initialize_
$(IDEAL_CASE
).o
$(LIBWRFLIB
) $(LIB
)
34 $(LD
) -o tc.exe
$(LDFLAGS
) tc_
$(SOLVER
).o ..
/dyn_
$(SOLVER
)/module_initialize_
$(IDEAL_CASE
).o
$(LIBWRFLIB
) $(LIB
)
35 $(LD
) -o real.exe
$(LDFLAGS
) real_
$(SOLVER
).o ..
/dyn_
$(SOLVER
)/module_initialize_
$(IDEAL_CASE
).o
$(LIBWRFLIB
) $(LIB
)
37 convert_em
: convert_em.o
38 $(RANLIB
) $(RLFLAGS
) $(LIBWRFLIB
)
39 $(LD
) -o convert_em.exe
$(LDFLAGS
) convert_em.o
$(LIBWRFLIB
) $(LIB
)
41 module_initialize
: ..
/dyn_
$(SOLVER
)/module_initialize_
$(IDEAL_CASE
).o
42 # ( cd ../dyn_$(SOLVER) ; $(MAKE) module_initialize_$(IDEAL_CASE).o )
44 ## prevent real being compiled for OMP -- only for regtesting
45 #$(SOLVER)_real : module_initialize real_$(SOLVER).o
46 # $(RANLIB) $(RLFLAGS) $(LIBWRFLIB)
47 # if [ -z "$(OMP)" ] ; then $(FC) -o real.exe $(LDFLAGS) real_$(SOLVER).o ../dyn_$(SOLVER)/module_initialize_$(IDEAL_CASE).o $(LIBWRFLIB) $(LIB) ; fi
49 ## prevent module_initialize being compiled for OMP --remove after IBM debugging
51 # if [ -z "$(OMP)" ] ; then ( cd ../dyn_$(SOLVER) ; $(MAKE) module_initialize_$(IDEAL_CASE).o ) ; fi
52 # end of regtest changes
55 @ echo
'use the clean script'
57 # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)