Closed rolkar closed 8 years ago
A file, called x3f_version.o, contains the current version, based on git tag etc.
It is compiled each time, so the version is always the current one.
This also force a link every time. If you want it more beautiful, that can be avoided at a cost of complexity in the makefile.
I have now fixed so it is only compiled at changes.
The back side is that is that garbage version object files will be created.
They are cleaned up with "make clean" though.
A file, called x3f_version.o, contains the current version, based on git tag etc.
It is compiled each time, so the version is always the current one.
This also force a link every time. If you want it more beautiful, that can be avoided at a cost of complexity in the makefile.