beautypg.com

4 comments, 5 message commands – Renesas REJ10J1837-0100 User Manual

Page 437

background image

High-performance Embedded Workshop

13. HMAKE User Guide

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

13.4

Comments

A ‘#’ character signifies a comment. When this character appears as the first character on a line the rest of the line (up
until the next new line character) is ignored. There follows examples of valid comments:

# My hmake file

# Variable declaration

OUTPUT= c:\dir1\file1.obj

# Descriptor

$(OUTPUT) : c:\dir1\file1.c c:\dir1\file1.h

→ set VAR1=value1

→ gcc c:\dir1\file1.c

A comment must occupy its own line in the hmake file. It is not possible to put comments on the end of other
statements.

13.5

Message commands

The message command is used to output a line of text to standard out whilst a make file is executing. These text lines
will be output in the order they appear in the make file, in amongst output from any executables being executed as
appropriate. No buffering of output text will take place. A message command has the following syntax:

!MESSAGE

A new line character is assumed to come after the last character in . Any white space between
!MESSAGE and will be ignored. There follows an example of a valid message command:

!MESSAGE Executing C Compiler