./configure ; make ; make install
sequence. See the INSTALL file accompanying the tarball for further details.
Use the '-I', '-L', and '-l' flags of the compiler, for instance
$ cc -I/usr/local/include/gfileio -L/usr/local/lib -lgfileio example.cc
Libgfileio comes with a package config file (.pc). You could type for instance
$ cc `pkg-config --cflags --libs libgfileio` example.cc
If you are using autoconf/automake for your project, then add to your configure.ac file
PKG_CHECK_MODULES(SOMEAPP, libgfileio >= 0.1) AC_SUBST(SOMEAPP_CFLAGS) AC_SUBST(SOMEAPP_LIBS)
1.4.7