diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index dcb5cfef3ec..78936a039c9 100644 --- a/SConstruct +++ b/SConstruct @@ -273,6 +273,14 @@ if not quickie and do_clean: if os.path.exists(confile): print "clean file %s"%confile os.remove(confile) + + if platform in ('win32-vc', 'win32-mingw'): + makesdnafile = B.root_build_dir+'makesdna.exe' + else: + makesdnafile = B.root_build_dir+'makesdna' + if os.path.exists(makesdnafile): + print "removing", makesdnafile + os.remove(makesdnafile) print B.bc.OKGREEN+'...done'+B.bc.ENDC else: print B.bc.HEADER+'Already Clean, nothing to do.'+B.bc.ENDC |