I use gVim in windows to edit my code (mostly C++). I use :make in gVim to compile the project, but this is a blocking operation, that prevents me from using gVim until the
I would use your OS's inbuilt methods for running background tasks.
On windows, try typing
:!start make
On linux / mac os x, try
:!make > /dev/null 2>&1 &