> Coding this way, I don't have makefile capabilities
MinGW comes with make.
So all you need to do is setup a makefile, and configure your editor to run "make" whenever you press the assigned function key (or whatever).
First, a small batch to setup the MinGW environment, and run make
Put it in your project top-level and give it a name like maker.bat
call "C:\Program Files\CodeBlocks\MinGW\mingwvars.bat"
mingw32-make -f foomake.txt 1>make_1.log 2>make_2.log
Now create a makefile (change the -f filename above if you want)
To build in NP++, just press F5 and navigate to the batch file.
$(CC) -o $@ $^
The output and errors will be in the respective log files.
If NP++ were a bit smarter, it would be able to parse error logs and take you to the respective file/line.