rewrite Makefile, use git archive