buildsystem,ide,epj2mak; don't make reference to ECSOURCES in SOURCES if no .ec files...
authorRejean Loyer <rejean.loyer@gmail.com>
Mon, 5 Nov 2012 13:53:00 +0000 (08:53 -0500)
committerJerome St-Louis <jerome@ecere.com>
Mon, 5 Nov 2012 16:50:11 +0000 (11:50 -0500)
ide/src/project/Project.ec

index 9011954..8151db7 100755 (executable)
@@ -2392,7 +2392,7 @@ private:
          f.Puts("\n");
 
          topNode.GenMakefilePrintNode(f, this, sources, null, listItems, config, null);
-         OutputFileList(f, "SOURCES", listItems, varStringLenDiffs, "$(ECSOURCES)");
+         OutputFileList(f, "SOURCES", listItems, varStringLenDiffs, numCObjects ? "$(ECSOURCES)" : null);
 
          if(!noResources)
             resNode.GenMakefilePrintNode(f, this, resources, null, listItems, config, null);