File dependencies finalised -- write makefile. Start branching