Import script version-gen.sh

Which generate version info base on the git-info
Add version info into hcalc.c & Makefile