using gcc or a similar compiler, is it possible to increment a macro in the code before compiling?
For example, if in the header.h file I have something like:
#define EXAMPLE 5
I would like that before compiling, this become:
#define EXAMPLE 6
Is there a way to do this?