source: trunk/WRF.COMMON/WRFV3/external/io_grib1/WGRIB/Makefile @ 2759

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

File size: 778 bytes
Line 
1.IGNORE:
2
3.SUFFIXES: .c .o
4
5CC=cc
6
7.c.o:
8        $(CC) -c -O $<
9
10obj=wgrib_main.o seekgrib.o ibm2flt.o readgrib.o intpower.o cnames.o BDSunpk.o \
11  flt2ieee.o wrtieee.o levels.o PDStimes.o missing.o  \
12  nceptable_reanal.o nceptable_opn.o ensemble.o \
13  ombtable.o ec_ext.o gribtable.o gds_grid.o PDS_date.o ectable_128.o \
14  ectable_129.o ectable_130.o ectable_131.o ectable_140.o ectable_150.o \
15  ectable_151.o ectable_160.o ectable_170.o ectable_180.o nceptab_129.o \
16  dwdtable_002.o dwdtable_201.o dwdtable_202.o dwdtable_203.o \
17  cptectable_254.o nceptab_130.o nceptab_131.o
18
19all: wgrib
20
21archive: wgrib
22
23wgrib: $(obj)
24        $(CC) -o wgrib $(obj) -lm
25        ( cd .. ; \rm -f wgrib ; \ln -sf WGRIB/wgrib wgrib ; cd WGRIB )
26
27clean: 
28        \rm -f $(obj) wgrib
29        ( cd .. ; \rm -f wgrib ; cd WGRIB )
Note: See TracBrowser for help on using the repository browser.