makmake command syntax

Symbian projects are defined by an .mmp file which specifies the essential elements of the project. The makmake tool then uses this environment neutral file to build makefiles for use in various environments. These makefiles are then used for project development.

Invocation syntax

makmake [ options ] [ source-path ] project platform

Details of options, source-path, project, and platform are given below.

Options

-d

Indicates that the makefile is to be created in directory epoc32\build\ path_to_mmp_file \ mmp_basename \ platform rather than the directory in which makmake was invoked.

Note that relative paths within the created makefile will be relative to the directory in which makmake was invoked so nmake should be invoked from that directory too if the project is to build correctly.

-v

Indicates verbose operation

When this flag is specified, makmake prints many progress messages. The default is to give error messages only.

-mmp

Provides basic syntax guide to writing .mmp files instead of making the makefile.

-plat platform

Provides syntax guide to writing platform-specific sections of .mmp files, and information about which macros are defined for preprocessing the .mmp files.

-arm

Instructs an ARMV5 build to not build the project as THUMB, but as the appropriate ARM ABI.

For details, see ARMV5 build target.

-debug

Generates symbolic debug information for release or debug builds.

-no_debug

Does not generate symbolic debug information for release or debug builds.

Note that you can either use -debug to generate or -no_debug to not generate the symbolic debug information, irrespective of UREL or UDEB build.

source-path

This specifies the path of the source .mmp file, relative to the current directory.

If omitted, the source .mmp file is project .mmp in the current directory.

Whether or not the source-path is specified, the generated makefile is always written into the current directory.

project

This specifies the project for which to create the makefile.

platform

This specifies the target platform, e.g. thumb or winscw.

Command output

The output makefile name in most cases has the form project-name.platform-name. The exceptions are for cw_ide, which produces a .xml file, which can be imported into CodeWarrior, and vc6 and vc6winc, which produce .dsw and .dsp files.