Makefile tricks for Nios II

Showing results for 
Search instead for 
Did you mean: 

Makefile tricks for Nios II

Makefile tricks for Nios II

(Redirected from Make tricks)

Altera Corp. introduced the Nios® II Software Build Tools (SBT) in 2009. The SBT automatically create custom makefiles for your custom application from either the GUI or the command line. This is exactly what most Nios® II users need. However, there are cases where you need a little more control over the make process, but you prefer not to make a custom makefile from scratch. For example, if you have a file which uses the __DATE __ and __TIME__ C macros or build numbering system, you may want them to be rebuilt every time you compile or just when another file changes. These and other make topics will be explored in this paper. This paper assumes that you have some knowledge of makefiles and the Nios® II SBT. A great make reference book is “Managing Project with make”. It is published by O’REILLY and written by Andrew Oram & Steve Talbot.


Topics: make, GNUmakefile, prebuild, postbuild 

© 2010 Altera Corporation. The material in this wiki page or document is provided AS-IS and is not

supported by Altera Corporation. Use the material in this document at your own risk; it might be, for example, objectionable,

misleading or inaccurate.

Version history
Last update:
‎06-25-2019 04:12 PM
Updated by: