Untested first draft of makefile magic to maintain the branch.