forked from wrf-model/WRF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
116 lines (91 loc) · 3.65 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#
LN = ln -sf
MAKE = make -i -r
RM = rm -f
MODULES1= \
module_model_constants.o \
module_bc_time_utilities.o \
module_get_file_names.o \
module_compute_geop.o \
module_chem_share.o \
module_check_a_mundo.o \
module_HLaw.o \
module_ctrans_aqchem.o \
module_random.o \
module_llxy.o \
module_interp_nmm.o \
module_interp_store.o \
module_string_tools.o \
module_MPP.o
MODULES2= \
module_date_time.o \
module_bc.o \
module_io_wrf.o \
module_soil_pre.o
MODULES3= \
module_io_domain.o
MODULES4= \
module_optional_input.o
MODULES = $(MODULES1) $(MODULES2) $(MODULES3) $(MODULES4)
OBJS4 = \
input_wrf.o \
output_wrf.o \
wrf_bdyout.o \
wrf_bdyin.o \
dfi.o \
$(PERTMOD) \
mediation_integrate.o \
mediation_wrfmain.o
OBJS1 = \
solve_interface.o \
mediation_interp_domain.o \
mediation_force_domain.o \
mediation_feedback_domain.o
OBJS2 = \
start_domain.o \
init_modules.o \
set_timekeeping.o \
interp_fcn.o \
sint.o \
wrf_ext_write_field.o \
wrf_ext_read_field.o
OBJS3 = \
wrf_tsin.o \
landread.o \
track_driver.o \
track_input.o \
module_trajectory.o \
bobrand.o \
wrf_timeseries.o \
track_driver.o \
wrf_fddaobs_in.o \
mediation_nest_move.o \
setfeenv.o
OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4)
NMM_MODULES =
LIBTARGET = shared
TARGETDIR = ./
$(LIBTARGET) : $(MODULES1) $(OBJS1) $(MODULES2) $(OBJS2) $(MODULES3) $(OBJS3) $(MODULES4) $(OBJS4)
if [ $(WRF_NMM_CORE) -eq 1 ] ; then \
$(MAKE) nmm_contrib ; \
$(AR) $(ARFLAGS) ../main/$(LIBWRFLIB) $(MODULES) $(OBJS) $(NMM_OBJS) $(NMM_MODULES) ; \
else \
$(AR) $(ARFLAGS) ../main/$(LIBWRFLIB) $(MODULES) $(OBJS) ; \
fi
include ../configure.wrf
nmm_contrib : $(NMM_OBJS) $(NMM_MODULES)
#set_timekeeping_defs.inc : set_timekeeping_defs.m4
# $(M4) set_timekeeping_defs.m4 > set_timekeeping_defs.inc
#set_timekeeping_alarms.inc : set_timekeeping_alarms.m4
# $(M4) set_timekeeping_alarms.m4 > set_timekeeping_alarms.inc
#module_io_domain_defs.inc : module_io_domain_defs.m4
# $(M4) module_io_domain_defs.m4 > module_io_domain_defs.inc
clean:
@ echo 'use the clean script'
# DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)
module_bc_em.o: ../share/module_bc.o \
../share/module_model_constants.o \
../frame/module_configure.o \
../frame/module_wrf_error.o
include ../main/depend.common
# DO NOT DELETE