source:
lmdz_wrf/WRFV3/external/ioapi_share/makefile
@
13
Last change on this file since 13 was 1, checked in by , 11 years ago | |
---|---|
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 | |
4 | all: ../../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 | |
21 | superclean: |
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.