When it comes to compiling and linking, I create the following batch file.

Code:
@echo off
gcc *.c -o whatever.exe