* make sure makesdna executable gets removed on scons clean.

This commit is contained in:
Nathan Letwory
2008-04-28 17:14:20 +00:00
parent 23660800b6
commit a9ab9f4bde

View File

@@ -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