1 # Lower level Makefile for obsproc
5 include ..
/..
/..
/configure.wrf
8 MODULES
= module_date.o \
23 module_diagnostics.o \
31 MODULES_GTS
= module_decoded.o
33 MODULES_MM5
= module_mm5.o \
38 OBJS
= error_handler.o \
45 BUFR_OBJS
= ..
/..
/build
/da_bufr.o \
50 ..
/..
/build
/istdesc.o \
53 ..
/..
/build
/nemtbb.o \
54 ..
/..
/build
/numtbd.o \
56 ..
/..
/build
/cadn30.o \
58 ..
/..
/build
/bort_exit.o \
59 ..
/..
/build
/wrdesc.o \
63 # Source code dependencies
65 cray dec hp ibm sgi sun default
: default
66 # @echo "you need to be up a directory and then enter: 'make your_platform'"
72 obsproc.exe
: $(MODULES
) $(MODULES_MM5
) $(MODULES_OBS
) \
76 if
[ "$(BUFR)" = "-DBUFR" ] ; then \
78 $(MODULES
) $(MODULES_MM5
) $(MODULES_OBS
) \
80 $(OBJS
) $(BUFR_OBJS
) \
81 obsproc.o
$(LDFLAGS
) $(LOCAL_LIBRARIES
) ; \
84 $(MODULES
) $(MODULES_MM5
) $(MODULES_OBS
) \
87 obsproc.o
$(LDFLAGS
) $(LOCAL_LIBRARIES
) ; \
90 #------------------------------------------------------------------------------
92 obsproc.o
: module_namelist.o module_date.o \
100 module_diagnostics.o \
111 #------------------------------------------------------------------------------
114 module_type.o module_func.o
116 qc_reduction.o
: missing.inc \
117 module_type.o module_func.o
119 check_obs.o
: missing.inc platform_interface.inc \
120 module_type.o module_func.o \
123 setup.o
: constants.inc
126 module_date.o error_handler.o \
131 module_mm5.o
: constants.inc
133 module_map.o
: constants.inc \
136 module_map_utils.o
: constants.inc
138 module_decoded.o
: missing.inc \
140 module_type.o module_func.o \
141 module_inside.o module_obs_merge.o \
144 fm_decoder.o error_handler.o
150 module_type.o module_func.o \
151 module_map.o module_mm5.o
153 module_obs_merge.o
: missing.inc \
154 module_type.o module_func.o
158 module_type.o module_func.o
160 module_duplicate.o
: \
162 module_type.o module_func.o
164 module_complete.o
: missing.inc platform_interface.inc\
165 module_type.o module_func.o \
170 module_type.o module_func.o \
173 module_diagnostics.o
: missing.inc constants.inc \
174 module_type.o module_func.o \
177 module_qc.o
: missing.inc constants.inc platform_interface.inc \
178 module_type.o module_func.o \
181 module_recoverp.o
: missing.inc constants.inc \
187 module_recoverh.o
: missing.inc constants.inc platform_interface.inc \
195 module_err_afwa.o
: missing.inc constants.inc platform_interface.inc \
196 module_type.o module_func.o \
197 module_err_ncep.o module_intp.o
199 module_err_ncep.o
: missing.inc constants.inc \
200 module_type.o module_func.o \
203 module_thin_ob.
: module_mm5.o \
208 # The user should not need to modify any of this.
210 # Suffixes with which the Makefiles are to be concerned.
212 .SUFFIXES
: .F .F90 .i .o .f .c
214 # Build rules for the OBSPROC programs.
218 $(SFC
) -c
$(FCFLAGS
) -I..
/..
/build
$*.f
223 $(CPP
) $(CPPFLAGS
) $*.F90
> $@
225 #-----------------------------------------------------------------------------#
227 $(RM
) *.o
*.f core
*.kmo ctmi
* *.mod
*.lst \
228 *_out_
* output
*.out \