Browse Source

No longer errors out if no objects exist

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

+ 1 - 1
inc/basefuncs.py

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