Real-Time Workshop    

Compiler-Specific Template Makefiles

This section documents the available compiler-specific template makefiles and common options you can use with each.

Template Makefiles for UNIX

The template makefiles for UNIX platforms are designed to be used with GNU Make. These makefile are set up to conform to the guidelines specified in the IEEE Std 1003.2-1992 (POSIX) standard.

You can supply options via arguments to the make command.

For additional options, see the comments at the head of each template makefile.

Template Makefiles for Visual C/C++

Real-Time Workshop offers two sets of template makefiles designed for use with Visual C/C++.

To build an executable within Real-Time Workshop build process, use one of the target_vc.tmf template makefiles:

You can supply options via arguments to the make command.

For additional options, see the comments at the head of each template makefile.

To create a Visual C/C++ project makefile (model.mak) without building an executable, use one of the target_msvc.tmf template makefiles:

These template makefiles are designed to be used with nmake, which is bundled with Visual C/C++.

You can supply the following options via arguments to the nmake command:

For additional options, see the comments at the head of each template makefile.

Template Makefiles for Watcom C/C++

Real-Time Workshop provides template makefiles to create an executable for Windows using Watcom C/C++. These template makefiles are designed to be used with wmake, which is bundled with Watcom C/C++.

You can supply options via arguments to the make command. Note that the location of the quotes is different from the other compilers and make utilities discussed in this chapter:

For additional options, see the comments at the head of each template makefile.

Template Makefiles for Borland C/C++

Real-Time Workshop provides template makefiles to create an executable for Windows using Borland C/C++.

You can supply these options via arguments to the make command:

For additional options, see the comments at the head of each template makefile.

Template Makefiles for LCC

Real-Time Workshop provides template makefiles to create an executable for Windows using LCC compiler Version 2.4 and GNU Make (gmake).

You can supply options via arguments to the make command:

For additional options, see the comments at the head of each template makefile.

Template Makefile Structure

The detailed structure of template makefiles is documented in Template Makefiles. This information is provided for those who want to customize template makefiles.


  Template Makefiles and Make Options Configuring the Generated Code via TLC