[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.4.7.1 Building

You set up the compilation environment by changing to the `CS/' directory on the command-line and typing:

 
cd CS
make beos
make depend # Optional.

This sets up everything you should need to compile the system. After this, the simplest way to build the project is to type:

 
make -k all

If you prefer more control over the build process, then you can compile the various modules separately or in batches. To compile all the basic drivers and plug-in modules, type:

 
make -k plugins

Or for even more fine-grained control:

 
make -k apps
make -k drivers2d
make -k drivers3d
make vfs
make csfont

The convenience makefile target `walkall' builds the WalkTest application and the plug-in modules which it most often requires. So, for instance, to build only WalkTest and the plug-in modules it requires, along with the 2D graphics driver utilized by the software renderer, you could invoke this comand:

 
make -k be2d walkall

The graphics libraries consist of several BeOS-specific 2D drivers and platform-independent 3D renderers. You may compile these manually if you like, though they are normally built as part of the targets already mentioned, such as `all', `walkall', `plugins', `drivers2d', and `drivers3d'.

  1. Software Renderer

     
    make be2d
    make soft
    

  2. OpenGL

     
    make glbe2d
    make gl3d
    



This document was generated using texi2html