Moved things around, added phony rules to makefile for projects using tgamebase.