Compiling and Linking an IRIS Library or Application

Each directory installed on your system contains a Makefile to build the application or library it contains.

  1. To run the Makefile:
    1. Switch to the directory containing the source code.
    2. Type make.
  2. To install the binaries, run: sudo make install
    tip

    You can execute sudo make install in any directory, including root of the tree.

    However, if you make changes in the base sub-tree, you must execute make and sudo make install before building any binaries in the iris sub-tree.

  3. To compile and install the base or iris sub-tree, at the base of the sub-tree type:
    1. make
    2. sudo make install
    tip This is usefull when you build or install base or iris sub-trees.