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

8.2 Makefile How-To

Written by Andrew Zabolotny, bit@eltech.ru.

This section describes the interior of the makefile for GNU `make'. It will only help you if you use GNU `make', and if you intend to change the GNU makefiles.

Crystal Space has a complex and sophisticated makefile system, this document describes how it works and defines a set of rules that should be followed, if possible, to keep makefiles clean and understandable.

The makefile system heavily relies on many features of GNU `make'. This renders them very simple, but at the same time makes it heavily depend on this tool; however as of today GNU `make' is available for almost every platform, so this is not a too big of a price for the goods it brings.

This document is not intended as a GNU `make' manual; refer to appropriate documents if you do not understand something. The following text supposes you are familiar with GNU `make' extensions; with at least basic features if not with all.

8.2.1 Overall Structure  
8.2.2 Variable Naming Conventions  
8.2.3 Output Directory  


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

This document was generated using texi2html