rdb 16 年 前
コミット
f346e037aa
2 ファイル変更3 行追加1 行削除
  1. 2 0
      makepanda/makepanda.py
  2. 1 1
      makepanda/makepandacore.py

+ 2 - 0
makepanda/makepanda.py

@@ -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'])
 
 #

+ 1 - 1
makepanda/makepandacore.py

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