source: lmdz_wrf/trunk/WRFV3/external/ioapi_share/makefile @ 1393

Last change on this file since 1393 was 1, checked in by lfita, 10 years ago
  • -- --- Opening of the WRF+LMDZ coupling repository --- -- -

WRF: version v3.3
LMDZ: version v1818

More details in:

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.