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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using the Utilitieselse-linesendif10.2.2.6. Comment, Include and Export LinesComment linesAnything after a "#" is considered as a comment, and is ignored. If the "#" is inside a quoted string, it isnot treated as a comment. Completely blank lines are ignored.test.src : test.c # this is comment and isccarm test.c # ignored by the make utilityInclude linesAn include line is used to include the text of another makefile (like including a .h file in a C source).Macros in the name of the included file are expanded be<strong>for</strong>e the file is included. You can include severalfiles. Include files may be nested.include makefile2 makefile3Export linesAn export line is used to export a macro definition to the environment of any command executed by themake utility.GREETING = Helloexport GREETINGThis example creates the environment variable GREETING with the value Hello. The macro is exportedat the moment the export line is read so the macro definition has to precede the export line.247

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

Saved successfully!

Ooh no, something went wrong!