source: trunk/WRF.COMMON/WRFV2/external/io_grib1/WGRIB/src2all @ 3567

Last change on this file since 3567 was 11, checked in by aslmd, 14 years ago

spiga@svn-planeto:ajoute le modele meso-echelle martien

  • 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
9echo "combining source code into one module"
10echo "output is wgrib.c"
11set -x
12
13h="bds.h bms.h cnames.h gds.h grib.h pds4.h"
14c="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
23echo >wgrib.c "#include <stdio.h>"
24echo >>wgrib.c "#include <stdlib.h>"
25echo >>wgrib.c "#include <string.h>"
26echo >>wgrib.c "#include <stddef.h>"
27echo >>wgrib.c "#include <math.h>"
28echo >>wgrib.c "#include <float.h>"
29
30
31cat $h >>wgrib.c
32
33cat $c | grep -v '#include' >> wgrib.c
34
35tar -cvf wgrib.tar $h $c src2all makefile Changes
Note: See TracBrowser for help on using the repository browser.