Minor fixes

This commit is contained in:
rdb 2009-07-22 15:04:41 +00:00
parent 2a342062d0
commit f346e037aa
2 changed files with 3 additions and 1 deletions

View File

@ -2978,6 +2978,8 @@ if (PkgSkip("PLUGIN")==0 and PkgSkip("TINYXML")==0):
TargetAdd('panda3d.exe', input='downloader_composite.obj')
TargetAdd('panda3d.exe', input='express_composite1.obj')
TargetAdd('panda3d.exe', input='express_composite2.obj')
if (sys.platform == 'darwin'):
TargetAdd('panda3d.exe', input='filename_assist.mm')
TargetAdd('panda3d.exe', opts=['PYTHON', 'TINYXML', 'OPENSSL', 'ZLIB', 'WINGDI', 'WINUSER', 'WINSHELL'])
#

View File

@ -563,7 +563,7 @@ def DeleteBuildFiles(dir):
for entry in os.listdir(dir):
if (entry != ".") and (entry != ".."):
subdir = dir + "/" + entry
if (os.path.isfile(subdir) and os.path.splitext(subdir)[-1] in [".h", ".I", ".c", ".cxx", ".cpp", ".pp"]):
if (os.path.isfile(subdir) and os.path.splitext(subdir)[-1] in [".h", ".I", ".c", ".cxx", ".cpp", ".pp", ".moved"]):
os.remove(subdir)
elif (os.path.isdir(subdir)):
DeleteBuildFiles(subdir)