source: lmdz_wrf/WRFV3/external/io_grib1/WGRIB/Makefile @ 1

Last change on this file since 1 was 1, checked in by lfita, 10 years ago
  • -- --- Opening of the WRF+LMDZ coupling repository --- -- -

WRF: version v3.3
LMDZ: version v1818

More details in:

File size: 821 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.exe
20
21archive: wgrib.exe
22
23wgrib.exe: $(obj)
24        $(CC) -o wgrib.exe $(obj) #-lm
25        ( cd .. ; \rm -f wgrib.exe ; \ln -sf WGRIB/wgrib.exe wgrib.exe ; cd WGRIB )
26
27clean: 
28        \rm -f $(obj) *.obj wgrib.exe
29        ( cd .. ; \rm -f wgrib.exe ; cd WGRIB )
Note: See TracBrowser for help on using the repository browser.