Renamed workdir to makedir to avoid confusion with the runtime working
directory of a game and not the directory it is compiled and linked in.