Kalpanika / x3f

Tools for manipulating X3F files from Sigma cameras
88 stars 28 forks source link

Print version #87

Closed rolkar closed 8 years ago

rolkar commented 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.

rolkar commented 8 years ago

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.