Menu

SyntaxInclude

Brad Lanam

Wiki Home
Syntax

Syntax: include

Includes a mkc configuration file and processes it.

include <filepath>;
include <directory> <filepath>;     # not yet implemented

For the first form, the include statement first checks if filepath is a direct match, then for filepath in the mkc units directory, then for filepath in the user's mkc units directory.

The second form changes the working directory to directory, then includes filepath.

Examples
include commonpaths.mkc;
include auto commonpaths.mkc;
include baseconfig.mkc;
include 'cflags.mkc';

Wiki Home
Syntax


Related

Wiki: Home
Wiki: Syntax