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

8.3 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. If you want to change any makefiles or project files, you should contact the mailing list so that other people can change other resources as well, if needed. See section 1.7 Mailing Lists.

Crystal Space has a complex and kinda 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.3.1 Overall Structure  
8.3.2 Variable Naming Conventions  
8.3.3 Output Directory  


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

This document was generated using texi2html