generate_res.bat seems rather pointless, am I missing something? I just inlined it into the Makefile.