kripken/emscripten — pull request #580 by juj (2012-09-22 10:41:57+00:00)
Title: Windows make fixes 

Enables mingw32-make and cygwin make 3.80 to be used for makefiles that invoke emscripten.

See the individual commit messages for information, wrote detailed description there.

The root cause for all this trouble seems to be this http://bugs.python.org/issue3905 .

Also has another fix, avoids trying to open all command line inputs as files in shared.building.is_ar, this might improve performance slightly by avoiding file opens to strings like '-Dxxx' that aren't file paths.

This commit needs to be reviewed very carefully by someone using linux/mac and knows more about Popen. Is there potential problems or other bugs that can occur when I pipe all stdin,stdout and stderr to PIPE ? On Windows, I did not notice any, and these commits enable me to successfully build cmake-generated Makefiles from command line using make.