We are using a version number of the format major.minor.build. An example might be 1.5.234.
I would like the makefile to automatically increment the build number and then compile it into the hex file so it can be sent out the serial port.
I googled various combinations of the following words: make gcc increment build version
I searched the AVR forums using those words.
I also looked in the WinAVR user manuals.
As anyone implemented a version number like this? Does anyone have a good link I can review? Is there a better tool to use then make?