windows bootstrap: clean up object files
authorEvan Martin <martine@danga.com>
Wed, 1 Aug 2012 22:30:41 +0000 (15:30 -0700)
committerEvan Martin <martine@danga.com>
Fri, 10 Aug 2012 18:33:45 +0000 (11:33 -0700)
bootstrap.py

index ab03cf8..a5df22a 100755 (executable)
@@ -108,4 +108,8 @@ run([sys.executable, 'configure.py'] + conf_args)
 run(['./' + binary] + verbose)
 os.unlink(binary)
 
 run(['./' + binary] + verbose)
 os.unlink(binary)
 
+if sys.platform.startswith('win32'):
+    for obj in glob.glob('*.obj'):
+        os.unlink(obj)
+
 print 'Done!'
 print 'Done!'