You could maybe start by splitting your project into two imports, gameengine.bmx and gameplay.bmx with each including their relative files.
I wouldn't bother with this even unless compile times were at least 10 seconds as removing dependencies between files of a single application seems a fruitless endeavour at the best of times.
I wouldn't bother with this even unless compile times were at least 10 seconds as removing dependencies between files of a single application seems a fruitless endeavour at the best of times.