CMake netCDF Compatibility with WPS (#2121)
[WRF.git] / external / ioapi_share / makefile
bloba5142e02af3464ab34f089920f985120f97d34bb
1 # Makefile for variants of wrf_io_flags.h and wrf_status_codes.h that live in
2 # ../../inc
4 all: ../../inc/wrf_io_flags.h ../../inc/wrf_status_codes.h
6 # The if statement below modifies WRF data type codes for builds made with
7 # compiler autopromotion of REAL -> DOUBLE.
8 ../../inc/wrf_io_flags.h : wrf_io_flags.h ../../configure.wrf
9 ( /bin/rm -f ../../inc/wrf_io_flags.h foo_io_flags.h; \
10 /bin/cp wrf_io_flags.h foo_io_flags.h; \
11 if [ $(RWORDSIZE) -ne $(NATIVE_RWORDSIZE) ] ; then \
12 /bin/rm -f foo_io_flags.h; \
13 sed -e 's/104/105/' wrf_io_flags.h > foo_io_flags.h ;\
14 fi ; \
15 /bin/mv foo_io_flags.h ../../inc/wrf_io_flags.h )
17 ../../inc/wrf_status_codes.h : wrf_status_codes.h
18 /bin/rm -f ../../inc/wrf_status_codes.h
19 /bin/cp wrf_status_codes.h ../../inc
21 superclean:
22 @/bin/rm -f ../../inc/wrf_io_flags.h ../../inc/wrf_status_codes.h
24 # DEPENDENCIES : only dependencies after this line