Emacs is what you're looking for. To compile in emacs, simply open a source file, then select 'Tools->Compile'. You can change the default compile command from "gmake -k" to whatever you want. In your case, the specific build script. After it is done compiling, you can click on errors and it will open the appropriate source file and line.
Emacs is a complete IDE and there are many plugins to add capabilities. Best of which EDE (Emacs Dev Env). Not sure which distribution you're using, but Emacs is certainly a standard package in all of them.