arq5x/bedtools — pull request #17 by agordon (2012-02-17 17:34:23+00:00)
Title: Restructure auto-git-version

As discussed, with this change, only "version.o" gets recompiled when the git version changes,
and after that, "bedtools.cpp" is recompiled and re-linked.
Ideally, there's not even a need to recompile "bedtools.cpp" (just re-link it), but that's not the way the current makefile is built.

Technically:
VERSION is changed from a #define'd constant to an "extern char VERSION[]" - so all the sub-programs just point to the variable instead of embedding the constant - and are not re-compiled when the version changes.

-gordon