Browse Source

makepk3 no longer fucks up if you have no ACS header files

ijon 3 years ago
parent
commit
a077524e61
1 changed files with 3 additions and 2 deletions
  1. 3 2
      inc/basefuncs.py

+ 3 - 2
inc/basefuncs.py

@@ -107,8 +107,9 @@ def toRecompile(sources, headers, objects):
 
         objectMtimes[o] = mtime
 
-    if not oldestObject or newestHeader >= oldestObject:
-        return {sources[i]: objects[i] for i in range(len(sources))}
+    if newestHeader:
+        if not oldestObject or newestHeader >= oldestObject:
+            return {sources[i]: objects[i] for i in range(len(sources))}
 
 
     ret = {}