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
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | # combine source code into one module |
---|
4 | # easier to compile -- no make file needed |
---|
5 | # |
---|
6 | # pretty generic script -- just echos, cats and greps. |
---|
7 | # |
---|
8 | |
---|
9 | echo "combining source code into one module" |
---|
10 | echo "output is wgrib.c" |
---|
11 | set -x |
---|
12 | |
---|
13 | h="bds.h bms.h cnames.h gds.h grib.h pds4.h" |
---|
14 | c="wgrib_main.c seekgrib.c ibm2flt.c readgrib.c intpower.c cnames.c \ |
---|
15 | BDSunpk.c flt2ieee.c wrtieee.c levels.c PDStimes.c missing.c \ |
---|
16 | nceptable_opn.c nceptable_reanal.c nceptab_131.c nceptab_130.c \ |
---|
17 | ectable_128.c ectable_129.c ectable_130.c ectable_131.c \ |
---|
18 | ectable_140.c ectable_150.c ectable_151.c ectable_160.c ectable_170.c \ |
---|
19 | ectable_180.c nceptab_129.c \ |
---|
20 | ombtable.c ec_ext.c gds_grid.c gribtable.c PDS_date.c ensemble.c \ |
---|
21 | dwdtable_002.c dwdtable_201.c dwdtable_202.c dwdtable_203.c cptectable_254.c" |
---|
22 | |
---|
23 | echo >wgrib.c "#include <stdio.h>" |
---|
24 | echo >>wgrib.c "#include <stdlib.h>" |
---|
25 | echo >>wgrib.c "#include <string.h>" |
---|
26 | echo >>wgrib.c "#include <stddef.h>" |
---|
27 | echo >>wgrib.c "#include <math.h>" |
---|
28 | echo >>wgrib.c "#include <float.h>" |
---|
29 | |
---|
30 | |
---|
31 | cat $h >>wgrib.c |
---|
32 | |
---|
33 | cat $c | grep -v '#include' >> wgrib.c |
---|
34 | |
---|
35 | tar -cvf wgrib.tar $h $c src2all makefile Changes |
---|
Note: See
TracBrowser
for help on using the repository browser.