Update Makefile

Make sure base directory is created for git.