source: trunk/WRF.COMMON/WRFV3/external/ioapi_share/makefile @ 2759

Last change on this file since 2759 was 2759, checked in by aslmd, 2 years ago

adding unmodified code from WRFV3.0.1.1, expurged from useless data +1M size

File size: 902 bytes
Line 
1# Makefile for variants of wrf_io_flags.h and wrf_status_codes.h that live in
2# ../../inc
3
4all: ../../inc/wrf_io_flags.h ../../inc/wrf_status_codes.h
5
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 )
16
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
20
21superclean: 
22        /bin/rm -f ../../inc/wrf_io_flags.h ../../inc/wrf_status_codes.h
23
24# DEPENDENCIES : only dependencies after this line
25
Note: See TracBrowser for help on using the repository browser.