Relative Content

Tag Archive for cmakefilecompiler-constructionfilenamesatmelstudio

Makefile change output hex file name using #define from header file

I use a #define inside a header file for firmware version. Can the makefile append the version number from the #define to the name of the hex file? Im using Atmel Studio on Windows. I was able to use a custom makefile in the project but dont know how to modify it for this task.