$ tar xvzf gt4f90io-current.tgz
A directory `gt4f90io' created at the current working directory.
If your path of netCDF library is `/usr/local/netcdf/lib/libnetcdf.a', you should set options as follow.
$ ./configure --with-netcdf=/usr/local/netcdf/lib/libnetcdf.a
A configure file `Config.mk' created at the current working directory.
Then go to the gt4f90io
directory
and edit Config.mk.
FC : Fortran 90 compiler. SYSFLAGS : Flags needed for Compile and Link. (Options for Compile). SYSLDFLAGS : Flags needed for Link. SYSLDLIBS : Library needed for Link. F90MODTYPE : Way to pass over modules informations. DEST_LIB : gt4f90io library (libgt4f90io.a) will be installed there. DEST_INC : gt4f90io modules (*.mod) will be installed there. DEST_BIN : gt4f90io tools (gt*) will be installed there. DEST_DOC : gt4f90io documents (*.htm) will be installed there. MODS : suffix of the module file AR : Archive command
$ make # make install
If you want to install documents in your system, execute as follow.
# make install-doc