Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



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.

Normally, makmake generates a makefile whose extension depends on the platform:

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.

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. Possible platforms are:

armi

ARMI

wins

WINS

vc6

Microsoft VC++ 6 workspace