Last change
on this file 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
|
Rev | Line | |
---|
[2759] | 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.