ide/build system: Fixed errors when project contained only eC files
authorJerome St-Louis <jerome@ecere.com>
Thu, 7 Mar 2013 09:18:33 +0000 (04:18 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 7 Mar 2013 09:18:33 +0000 (04:18 -0500)
ide/src/project/Project.ec

index 7000603..945d811 100644 (file)
@@ -561,7 +561,7 @@ void OutputLinkObjectActions(File f, char * name, int parts)
       int c;
       for(c=0; c<parts; c++)
          f.Printf("\t@$(call echo,$(%s%d)) >> $(OBJ)linkobjects.lst\n", name, c+1);
-   } else {
+   } else if(parts) {
       f.Printf("\t@$(call echo,$(%s)) >> $(OBJ)linkobjects.lst\n", name);
    }
 }