ChorusOS 4.0 Production Guide

The Makefiles created by mkmk Tool

During generation, mkmk goes down the build tree and creates a Makefile, for each build directory. The Makefiles are used to build the binary files and each of these Makefiles is autonomous. This means that you can set make running from any directory and all files located in the subdirectories attached to that directory are automatically built. The Makefile content depends on the mkmk production files.

In each directory, where mkmk produces a Makefile, mkmk:

The list of files to be compiled varies depending on the merge operation. Writing a Makefile that will work on several configurations can be complicated. The solution offered by mkmk is described by the following two steps:

The .mf files do not have an equivalent within the imake tool.

The mkmk tool will regenerate the Makefile produced, if the .df, .bf or .mf files used to build it change.