13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using the UtilitiesoptionFor a complete list and description of all make utility options, see Section 12.7, MakeUtility Options.Exit statusThe make utility returns an exit status of 1 when it halts as a result of an error. Otherwise it returns anexit status of 0.10.2.2. Writing a MakefileIn addition to the standard makefile makefile, the make utility always reads the makefile mkarm.mkbe<strong>for</strong>e other inputs. This system makefile contains implicit rules and predefined macros that you can usein the makefile makefile.With the option -r (Do not read the mkarm.mk file) you can prevent the make utility from reading mkarm.mk.The default name of the makefile is makefile in the current directory. If you want to use another makefile,use the option -f.The makefile can contain a mixture of:• targets and dependencies• rules• macro definitions or functions• conditional processing• comment lines• include lines• export linesTo continue a line on the next line, terminate it with a backslash (\):# this comment line is continued\on the next lineIf a line must end with a backslash, add an empty macro:# this comment line ends with a backslash \$(EMPTY)# this is a new line10.2.2.1. Targets and DependenciesThe basis of the makefile is a set of targets, dependencies and rules. A target entry in the makefile hasthe following <strong>for</strong>mat:239

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!