If the Makefile is in the root (the Makefile is in the out directory), and this is the build directory, configure the build using a different directory location (it's the same steps as Example 1, but your out directory is outside of mydir):
To create a project: