I'd like to compile a grib2 lib on IRIX. All work fine except the
preprocessor that converts from ".F" to ".f" section seems not
working

---------------------------------------------
..F.f:
$(CPP) $(FDEFS) $*.F $*.f
-----------------------------------------------

If the preprocessor conversion is not correct then
the conditional group to use JPEG2000 etc will not be included.


But the makefile works fine on the Fedora box. I think it maybe the
issue of the makefile. But I have no clue.

************************** makefile ******************

SHELL=/bin/sh

# Make sure one of the following options appears in your CFLAGS
# variable to indicate which system you are on. Used to call
# "C" routines from Fortran.
# -DLINUX, -DLINUXG95, -DSGI, -DHP, -DCRAY90, -DAIX, -DLINUXF90, -
DVPP5000

# If you want to enable support for PNG or JPEG2000 encoding/
decoding,
# you must specify -DUSE_PNG and/or -DUSE_JPEG2000 in the FDEFS
variable
# for the Fortran pre-processor
# -DUSE_PNG requires libpng.a and libz.a
# ( and png.h pngconf.h zconf.h zlib.h include
files).
# -DUSE_JPEG2000 requires libjasper.a
# ( and all the jasper/*.h include files).
#
# In addition, INCDIR must include all directories where the above
# mentioned include files can be found.
FDEFS=-DUSE_PNG -DUSE_JPEG2000
INCDIR=-I/usr/local/include

LIB=libg2.a

#--------------------------------------
# The following was used for XLF on AIX
#DEFS=-DAIX -DHAVE_SYS_TYPES_H=1
#FC=xlf
#CC=xlc
#CPP=/usr/ccs/lib/cpp -P
#MODDIR=../g2mod
#FFLAGS=-O3 -g -qnosave -qarch=auto -qmoddir=$(MODDIR) -I $(MODDIR)
#CFLAGS=-O3 -q64 -g -qcpluscmt -qarch=auto $(DEFS) $(INCDIR)
#ARFLAGS=-X64

#--------------------------------------
# The following was used for G95 on LINUX
#
#DEFS=-DLINUXG95
#FC=/usr/local/gcc4/bin/gfortran
#CC=cc
#CPP=cpp -P -C
#MODDIR=.
#FFLAGS=-O3 -g -I $(MODDIR)
#CFLAGS=-O3 $(DEFS) $(INCDIR)
#ARFLAGS=-ruv

#--------------------------------------
# The following was used for f90 on SGI
#
DEFS=-DSGI
FC=f90
CC=c99
CPP=/usr/lib/cpp -P -C
MODDIR=.
FFLAGS=-O3 -I $(MODDIR)
CFLAGS=-O3 $(DEFS) $(INCDIR)
ARFLAGS= -ruv
#--------------------------------------

..SUFFIXES: .a .f .F .c

$(LIB): $(LIB)(gridtemplates.o) \
$(LIB)(pdstemplates.o) \
$(LIB)(drstemplates.o) \
$(LIB)(gribmod.o) \
$(LIB)(realloc.o) \
$(LIB)(addfield.o) \
$(LIB)(addgrid.o) \
$(LIB)(addlocal.o) \
$(LIB)(getfield.o) \
$(LIB)(gb_info.o) \
$(LIB)(gf_getfld.o) \
$(LIB)(gf_free.o) \
$(LIB)(gf_unpack1.o) \
$(LIB)(gf_unpack2.o) \
$(LIB)(gf_unpack3.o) \
$(LIB)(gf_unpack4.o) \
$(LIB)(gf_unpack5.o) \
$(LIB)(gf_unpack6.o) \
$(LIB)(gf_unpack7.o) \
$(LIB)(gettemplates.o) \
$(LIB)(getlocal.o) \
$(LIB)(getdim.o) \
$(LIB)(getpoly.o) \
$(LIB)(gribcreate.o) \
$(LIB)(gribend.o) \
$(LIB)(gribinfo.o) \
$(LIB)(mkieee.o) \
$(LIB)(rdieee.o) \
$(LIB)(simpack.o) \
$(LIB)(simunpack.o) \
$(LIB)(cmplxpack.o) \
$(LIB)(compack.o) \
$(LIB)(misspack.o) \
$(LIB)(pack_gp.o) \
$(LIB)(reduce.o) \
$(LIB)(comunpack.o) \
$(LIB)(specpack.o) \
$(LIB)(specunpack.o) \
$(LIB)(jpcpack.o) \
$(LIB)(jpcunpack.o) \
$(LIB)(enc_jpeg2000.o) \
$(LIB)(dec_jpeg2000.o) \
$(LIB)(pngpack.o) \
$(LIB)(pngunpack.o) \
$(LIB)(enc_png.o) \
$(LIB)(dec_png.o) \
$(LIB)(mova2i.o) \
$(LIB)(gbytesc.o) \
$(LIB)(skgb.o) \
$(LIB)(ixgb2.o) \
$(LIB)(getg2i.o) \
$(LIB)(getg2ir.o) \
$(LIB)(getgb2s.o) \
$(LIB)(getgb2r.o) \
$(LIB)(getgb2l.o) \
$(LIB)(getgb2.o) \
$(LIB)(getgb2p.o) \
$(LIB)(getgb2rp.o) \
$(LIB)(putgb2.o) \
$(LIB)(g2grids.o) \
$(LIB)(params.o) \
$(LIB)(params_ecmwf.o) \
$(LIB)(getidx.o) \
$(LIB)(gdt2gds.o)

..F.f:
$(CPP) $(FDEFS) $*.F $*.f

..f.a:
$(FC) -c $(FFLAGS) $<
ar $(ARFLAGS) $@ $*.o
rm -f $*.o

..c.a:
$(CC) -c $(CFLAGS) $<
ar $(ARFLAGS) $@ $*.o
rm -f $*.o


******************* output on IRIX *********************

f90 -c -O3 -I . gridtemplates.f
ar -ruv libg2.a gridtemplates.o
ar: Warning: creating libg2.a

a - gridtemplates.o
rm -f gridtemplates.o
f90 -c -O3 -I . pdstemplates.f
ar -ruv libg2.a pdstemplates.o
a - pdstemplates.o
rm -f pdstemplates.o
f90 -c -O3 -I . drstemplates.f
ar -ruv libg2.a drstemplates.o
a - drstemplates.o
rm -f drstemplates.o
f90 -c -O3 -I . gribmod.f
ar -ruv libg2.a gribmod.o
a - gribmod.o
rm -f gribmod.o
f90 -c -O3 -I . realloc.f
ar -ruv libg2.a realloc.o
a - realloc.o
rm -f realloc.o
f90 -O -c addfield.F <----------cpp not working
ar -ruv libg2.a addfield.o
a - addfield.o
rm -f addfield.o
f90 -c -O3 -I . addgrid.f
ar -ruv libg2.a addgrid.o
a - addgrid.o
rm -f addgrid.o
f90 -c -O3 -I . addlocal.f
ar -ruv libg2.a addlocal.o
a - addlocal.o
rm -f addlocal.o
f90 -c -O3 -I . getfield.f
ar -ruv libg2.a getfield.o
a - getfield.o
rm -f getfield.o
f90 -c -O3 -I . gb_info.f
ar -ruv libg2.a gb_info.o
a - gb_info.o
rm -f gb_info.o
f90 -c -O3 -I . gf_getfld.f
ar -ruv libg2.a gf_getfld.o
a - gf_getfld.o
rm -f gf_getfld.o
f90 -c -O3 -I . gf_free.f
ar -ruv libg2.a gf_free.o
a - gf_free.o
rm -f gf_free.o
f90 -c -O3 -I . gf_unpack1.f
ar -ruv libg2.a gf_unpack1.o
a - gf_unpack1.o
rm -f gf_unpack1.o
f90 -c -O3 -I . gf_unpack2.f
ar -ruv libg2.a gf_unpack2.o
a - gf_unpack2.o
rm -f gf_unpack2.o
f90 -c -O3 -I . gf_unpack3.f
ar -ruv libg2.a gf_unpack3.o
a - gf_unpack3.o
rm -f gf_unpack3.o
f90 -c -O3 -I . gf_unpack4.f
ar -ruv libg2.a gf_unpack4.o
a - gf_unpack4.o
rm -f gf_unpack4.o
f90 -c -O3 -I . gf_unpack5.f
ar -ruv libg2.a gf_unpack5.o
a - gf_unpack5.o
rm -f gf_unpack5.o
f90 -c -O3 -I . gf_unpack6.f
ar -ruv libg2.a gf_unpack6.o
a - gf_unpack6.o
rm -f gf_unpack6.o
f90 -O -c gf_unpack7.F <----------cpp not working
ar -ruv libg2.a gf_unpack7.o
a - gf_unpack7.o
rm -f gf_unpack7.o
f90 -c -O3 -I . gettemplates.f
ar -ruv libg2.a gettemplates.o
a - gettemplates.o
rm -f gettemplates.o
f90 -c -O3 -I . getlocal.f
ar -ruv libg2.a getlocal.o
a - getlocal.o
rm -f getlocal.o
f90 -c -O3 -I . getdim.f
ar -ruv libg2.a getdim.o
a - getdim.o
rm -f getdim.o
f90 -c -O3 -I . getpoly.f
ar -ruv libg2.a getpoly.o
a - getpoly.o
rm -f getpoly.o
f90 -c -O3 -I . gribcreate.f
ar -ruv libg2.a gribcreate.o
a - gribcreate.o
rm -f gribcreate.o
f90 -c -O3 -I . gribend.f
ar -ruv libg2.a gribend.o
a - gribend.o
rm -f gribend.o
f90 -c -O3 -I . gribinfo.f
ar -ruv libg2.a gribinfo.o
a - gribinfo.o
rm -f gribinfo.o
f90 -c -O3 -I . mkieee.f
ar -ruv libg2.a mkieee.o
a - mkieee.o
rm -f mkieee.o
f90 -c -O3 -I . rdieee.f
ar -ruv libg2.a rdieee.o
a - rdieee.o
rm -f rdieee.o
f90 -c -O3 -I . simpack.f
ar -ruv libg2.a simpack.o
a - simpack.o
rm -f simpack.o
f90 -c -O3 -I . simunpack.f
ar -ruv libg2.a simunpack.o
a - simunpack.o
rm -f simunpack.o
f90 -c -O3 -I . cmplxpack.f
ar -ruv libg2.a cmplxpack.o
a - cmplxpack.o
rm -f cmplxpack.o
f90 -c -O3 -I . compack.f
ar -ruv libg2.a compack.o
a - compack.o
rm -f compack.o
f90 -c -O3 -I . misspack.f
ar -ruv libg2.a misspack.o
a - misspack.o
rm -f misspack.o
f90 -c -O3 -I . pack_gp.f
ar -ruv libg2.a pack_gp.o
a - pack_gp.o
rm -f pack_gp.o
f90 -c -O3 -I . reduce.f
ar -ruv libg2.a reduce.o
a - reduce.o
rm -f reduce.o
f90 -c -O3 -I . comunpack.f
ar -ruv libg2.a comunpack.o
a - comunpack.o
rm -f comunpack.o
f90 -c -O3 -I . specpack.f
ar -ruv libg2.a specpack.o
a - specpack.o
rm -f specpack.o
f90 -c -O3 -I . specunpack.f
ar -ruv libg2.a specunpack.o
a - specunpack.o
rm -f specunpack.o
f90 -c -O3 -I . jpcpack.f
ar -ruv libg2.a jpcpack.o
a - jpcpack.o
rm -f jpcpack.o
f90 -c -O3 -I . jpcunpack.f
ar -ruv libg2.a jpcunpack.o
a - jpcunpack.o
rm -f jpcunpack.o
c99 -c -O3 -DSGI -I/usr/local/include enc_jpeg2000.c
ar -ruv libg2.a enc_jpeg2000.o
a - enc_jpeg2000.o
rm -f enc_jpeg2000.o
c99 -c -O3 -DSGI -I/usr/local/include dec_jpeg2000.c
cc-1551 c99: WARNING File = dec_jpeg2000.c, Line = 89
The variable "ier" is used before its value is set.

printf(" jpc_decode return = %d \n",ier);
^

cc-1174 c99: WARNING File = dec_jpeg2000.c, Line = 69
The variable "n" was declared but never referenced.

g2int i,j,k,n;
^

cc-1174 c99: WARNING File = dec_jpeg2000.c, Line = 71
The variable "istream" was declared but never referenced.

jas_stream_t *jpcstream,*istream;
^

cc-1174 c99: WARNING File = dec_jpeg2000.c, Line = 72
The variable "cmpt" was declared but never referenced.

jas_image_cmpt_t cmpt,*pcmpt;
^

ar -ruv libg2.a dec_jpeg2000.o
a - dec_jpeg2000.o
rm -f dec_jpeg2000.o
f90 -c -O3 -I . pngpack.f
ar -ruv libg2.a pngpack.o
a - pngpack.o
rm -f pngpack.o
f90 -c -O3 -I . pngunpack.f
ar -ruv libg2.a pngunpack.o
a - pngunpack.o
rm -f pngunpack.o
c99 -c -O3 -DSGI -I/usr/local/include enc_png.c
cc-1174 c99: WARNING File = enc_png.c, Line = 59
The variable "do_nothing" was declared but never referenced.

int *do_nothing=NULL;
^

ar -ruv libg2.a enc_png.o
a - enc_png.o
rm -f enc_png.o
c99 -c -O3 -DSGI -I/usr/local/include dec_png.c
ar -ruv libg2.a dec_png.o
a - dec_png.o
rm -f dec_png.o
c99 -c -O3 -DSGI -I/usr/local/include mova2i.c
ar -ruv libg2.a mova2i.o
a - mova2i.o
rm -f mova2i.o
f90 -c -O3 -I . gbytesc.f
ar -ruv libg2.a gbytesc.o
a - gbytesc.o
rm -f gbytesc.o
f90 -c -O3 -I . skgb.f
ar -ruv libg2.a skgb.o
a - skgb.o
rm -f skgb.o
f90 -c -O3 -I . ixgb2.f
ar -ruv libg2.a ixgb2.o
a - ixgb2.o
rm -f ixgb2.o
f90 -c -O3 -I . getg2i.f
ar -ruv libg2.a getg2i.o
a - getg2i.o
rm -f getg2i.o
f90 -c -O3 -I . getg2ir.f
ar -ruv libg2.a getg2ir.o
a - getg2ir.o
rm -f getg2ir.o
f90 -c -O3 -I . getgb2s.f
ar -ruv libg2.a getgb2s.o
a - getgb2s.o
rm -f getgb2s.o
f90 -c -O3 -I . getgb2r.f
ar -ruv libg2.a getgb2r.o
a - getgb2r.o
rm -f getgb2r.o
f90 -c -O3 -I . getgb2l.f
ar -ruv libg2.a getgb2l.o
a - getgb2l.o
rm -f getgb2l.o
f90 -c -O3 -I . getgb2.f
ar -ruv libg2.a getgb2.o
a - getgb2.o
rm -f getgb2.o
f90 -c -O3 -I . getgb2p.f
ar -ruv libg2.a getgb2p.o
a - getgb2p.o
rm -f getgb2p.o
f90 -c -O3 -I . getgb2rp.f
ar -ruv libg2.a getgb2rp.o
a - getgb2rp.o
rm -f getgb2rp.o
f90 -c -O3 -I . putgb2.f
ar -ruv libg2.a putgb2.o
a - putgb2.o
rm -f putgb2.o
f90 -c -O3 -I . g2grids.f
ar -ruv libg2.a g2grids.o
a - g2grids.o
rm -f g2grids.o
f90 -c -O3 -I . params.f
ar -ruv libg2.a params.o
a - params.o
rm -f params.o
f90 -c -O3 -I . params_ecmwf.f
ar -ruv libg2.a params_ecmwf.o
a - params_ecmwf.o
rm -f params_ecmwf.o
f90 -c -O3 -I . getidx.f
ar -ruv libg2.a getidx.o
a - getidx.o
rm -f getidx.o
f90 -c -O3 -I . gdt2gds.f
ar -ruv libg2.a gdt2gds.o
a - gdt2gds.o
rm -f gdt2gds.o

******************* output on Fedora *********************

/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gridtemplates.f
ar -ruv libg2.a gridtemplates.o
ar: creating libg2.a
a - gridtemplates.o
rm -f gridtemplates.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . pdstemplates.f
ar -ruv libg2.a pdstemplates.o
a - pdstemplates.o
rm -f pdstemplates.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . drstemplates.f
ar -ruv libg2.a drstemplates.o
a - drstemplates.o
rm -f drstemplates.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gribmod.f
ar -ruv libg2.a gribmod.o
a - gribmod.o
rm -f gribmod.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . realloc.f
ar -ruv libg2.a realloc.o
a - realloc.o
rm -f realloc.o
cpp -P -C -DUSE_PNG -DUSE_JPEG2000 addfield.F addfield.f
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . addfield.f
ar -ruv libg2.a addfield.o
a - addfield.o
rm -f addfield.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . addgrid.f
ar -ruv libg2.a addgrid.o
a - addgrid.o
rm -f addgrid.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . addlocal.f
ar -ruv libg2.a addlocal.o
a - addlocal.o
rm -f addlocal.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getfield.f
ar -ruv libg2.a getfield.o
a - getfield.o
rm -f getfield.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gb_info.f
ar -ruv libg2.a gb_info.o
a - gb_info.o
rm -f gb_info.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_getfld.f
ar -ruv libg2.a gf_getfld.o
a - gf_getfld.o
rm -f gf_getfld.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_free.f
ar -ruv libg2.a gf_free.o
a - gf_free.o
rm -f gf_free.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_unpack1.f
ar -ruv libg2.a gf_unpack1.o
a - gf_unpack1.o
rm -f gf_unpack1.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_unpack2.f
ar -ruv libg2.a gf_unpack2.o
a - gf_unpack2.o
rm -f gf_unpack2.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_unpack3.f
ar -ruv libg2.a gf_unpack3.o
a - gf_unpack3.o
rm -f gf_unpack3.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_unpack4.f
ar -ruv libg2.a gf_unpack4.o
a - gf_unpack4.o
rm -f gf_unpack4.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_unpack5.f
ar -ruv libg2.a gf_unpack5.o
a - gf_unpack5.o
rm -f gf_unpack5.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_unpack6.f
ar -ruv libg2.a gf_unpack6.o
a - gf_unpack6.o
rm -f gf_unpack6.o
cpp -P -C -DUSE_PNG -DUSE_JPEG2000 gf_unpack7.F gf_unpack7.f
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gf_unpack7.f
ar -ruv libg2.a gf_unpack7.o
a - gf_unpack7.o
rm -f gf_unpack7.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gettemplates.f
ar -ruv libg2.a gettemplates.o
a - gettemplates.o
rm -f gettemplates.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getlocal.f
ar -ruv libg2.a getlocal.o
a - getlocal.o
rm -f getlocal.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getdim.f
ar -ruv libg2.a getdim.o
a - getdim.o
rm -f getdim.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getpoly.f
ar -ruv libg2.a getpoly.o
a - getpoly.o
rm -f getpoly.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gribcreate.f
ar -ruv libg2.a gribcreate.o
a - gribcreate.o
rm -f gribcreate.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gribend.f
ar -ruv libg2.a gribend.o
a - gribend.o
rm -f gribend.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gribinfo.f
ar -ruv libg2.a gribinfo.o
a - gribinfo.o
rm -f gribinfo.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . mkieee.f
ar -ruv libg2.a mkieee.o
a - mkieee.o
rm -f mkieee.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . rdieee.f
ar -ruv libg2.a rdieee.o
a - rdieee.o
rm -f rdieee.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . simpack.f
ar -ruv libg2.a simpack.o
a - simpack.o
rm -f simpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . simunpack.f
ar -ruv libg2.a simunpack.o
a - simunpack.o
rm -f simunpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . cmplxpack.f
ar -ruv libg2.a cmplxpack.o
a - cmplxpack.o
rm -f cmplxpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . compack.f
ar -ruv libg2.a compack.o
a - compack.o
rm -f compack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . misspack.f
ar -ruv libg2.a misspack.o
a - misspack.o
rm -f misspack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . pack_gp.f
ar -ruv libg2.a pack_gp.o
a - pack_gp.o
rm -f pack_gp.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . reduce.f
ar -ruv libg2.a reduce.o
a - reduce.o
rm -f reduce.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . comunpack.f
ar -ruv libg2.a comunpack.o
a - comunpack.o
rm -f comunpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . specpack.f
ar -ruv libg2.a specpack.o
a - specpack.o
rm -f specpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . specunpack.f
ar -ruv libg2.a specunpack.o
a - specunpack.o
rm -f specunpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . jpcpack.f
ar -ruv libg2.a jpcpack.o
a - jpcpack.o
rm -f jpcpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . jpcunpack.f
ar -ruv libg2.a jpcunpack.o
a - jpcunpack.o
rm -f jpcunpack.o
cc -c -O3 -DLINUXG95 -I/usr/local/include enc_jpeg2000.c
ar -ruv libg2.a enc_jpeg2000.o
a - enc_jpeg2000.o
rm -f enc_jpeg2000.o
cc -c -O3 -DLINUXG95 -I/usr/local/include dec_jpeg2000.c
ar -ruv libg2.a dec_jpeg2000.o
a - dec_jpeg2000.o
rm -f dec_jpeg2000.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . pngpack.f
ar -ruv libg2.a pngpack.o
a - pngpack.o
rm -f pngpack.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . pngunpack.f
ar -ruv libg2.a pngunpack.o
a - pngunpack.o
rm -f pngunpack.o
cc -c -O3 -DLINUXG95 -I/usr/local/include enc_png.c
ar -ruv libg2.a enc_png.o
a - enc_png.o
rm -f enc_png.o
cc -c -O3 -DLINUXG95 -I/usr/local/include dec_png.c
ar -ruv libg2.a dec_png.o
a - dec_png.o
rm -f dec_png.o
cc -c -O3 -DLINUXG95 -I/usr/local/include mova2i.c
ar -ruv libg2.a mova2i.o
a - mova2i.o
rm -f mova2i.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gbytesc.f
ar -ruv libg2.a gbytesc.o
a - gbytesc.o
rm -f gbytesc.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . skgb.f
ar -ruv libg2.a skgb.o
a - skgb.o
rm -f skgb.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . ixgb2.f
ar -ruv libg2.a ixgb2.o
a - ixgb2.o
rm -f ixgb2.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getg2i.f
ar -ruv libg2.a getg2i.o
a - getg2i.o
rm -f getg2i.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getg2ir.f
ar -ruv libg2.a getg2ir.o
a - getg2ir.o
rm -f getg2ir.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getgb2s.f
ar -ruv libg2.a getgb2s.o
a - getgb2s.o
rm -f getgb2s.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getgb2r.f
ar -ruv libg2.a getgb2r.o
a - getgb2r.o
rm -f getgb2r.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getgb2l.f
ar -ruv libg2.a getgb2l.o
a - getgb2l.o
rm -f getgb2l.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getgb2.f
ar -ruv libg2.a getgb2.o
a - getgb2.o
rm -f getgb2.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getgb2p.f
ar -ruv libg2.a getgb2p.o
a - getgb2p.o
rm -f getgb2p.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getgb2rp.f
ar -ruv libg2.a getgb2rp.o
a - getgb2rp.o
rm -f getgb2rp.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . putgb2.f
ar -ruv libg2.a putgb2.o
a - putgb2.o
rm -f putgb2.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . g2grids.f
ar -ruv libg2.a g2grids.o
a - g2grids.o
rm -f g2grids.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . params.f
ar -ruv libg2.a params.o
a - params.o
rm -f params.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . params_ecmwf.f
ar -ruv libg2.a params_ecmwf.o
a - params_ecmwf.o
rm -f params_ecmwf.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . getidx.f
ar -ruv libg2.a getidx.o
a - getidx.o
rm -f getidx.o
/usr/local/gcc4/bin/gfortran -c -O3 -g -I . gdt2gds.f
ar -ruv libg2.a gdt2gds.o
a - gdt2gds.o
rm -f gdt2gds.o
rm addfield.f gf_unpack7.f