Hi,
the autogenerated makefile invoke the postbuild with the command: @$(MAKE) --no-print-directory post-build
Normally ${MAKE} is automatic defined as the make command you use (CCS uses), that i s"gmake.exe all" (or something similar), but if your environment have already defined a varaible MAKE, this one it is used.
Check you default DOS enviroment to see if MAKE is defined as "mingw-make" (echo %MAKE%). If this is the case, try to undef it (at system level, since any change to the environment in a dos box is local to that instance of cmd.exe)