Renesas REJ10J1837-0100 User Manual

Page 96

Advertising
background image

High-performance Embedded Workshop

3. Advanced Build Features

REJ10J1837-0100 Rev.1.00 Nov. 16, 2008
81

The High-performance Embedded Workshop will create a subdirectory called ’make’ within the current workspace
directory and then generate the makefile into it. The executable HMAKE.EXE, located in the High-performance
Embedded Workshop installation directory, is provided for you to execute the makefiles generated by HMake selected
in Makefile format.

If you wish to modify makefiles, see Reference 13, HMAKE User Guide.

Note:

If the name of the High-performance Embedded Workshop installation directory includes a space, the GNU Make
command may not work correctly when GNU Make is selected as the makefile format with the makefile generating
function.

To execute a makefile (HMake)

1. Open a DOS Command Prompt window and move to the ‘make’ directory where the makefile was generated.

2. Execute HMAKE. Its command line is HMAKE.EXE <makefile>.

Note:

The degree of portability of a generated makefile is entirely dependent upon how portable the project itself is. For
example, any compiler options that include full paths to an output directory or include file directory will mean that,
when given to another user with a different installation, the build will probably fail. In general use placeholders
wherever possible – using a full, specific path should be avoided when possible.

3.9

Using a makefile inside the High-performance Embedded Workshop system

The High-performance Embedded Workshop also allows you to configure the internal build to use a particular make
tool (hmake, nmake, or gmake) as well as the internal High-performance Embedded Workshop system.

The build procedures using makefiles are listed below. nmake and gmake tools must be prepared by the user, while
hmake is installed in the High-performance Embedded Workshop installation directory.

To set-up the internal makefile execution

1. Create a High-performance Embedded Workshop workspace.

2. If you want to use a High-performance Embedded Workshop generated makefile, select [Build -> Generate

Makefile] to generate a makefile. For details, see section 3.8, Generating a makefile.

3. Select [Setup -> Options]. The Options dialog box opens.

4. Click the Build tab.

Advertising