ide; fixed forgot to remove unused parameters for Printf function calls in 5b04e93773...
authorRejean Loyer <rejean.loyer@gmail.com>
Fri, 17 May 2013 12:39:55 +0000 (08:39 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Wed, 22 May 2013 19:57:28 +0000 (15:57 -0400)
ide/src/project/ProjectNode.ec

index 0c2bbc2..deb8136 100644 (file)
@@ -1560,7 +1560,7 @@ private:
                   GenMakePrintNodeFlagsVariable(this, nodeCFlagsMapping, "PRJ_CFLAGS", f);
 
                   f.Printf(" -c %s%s.%s -o $@\n",
-                     modulePath, moduleName, extension, moduleName);
+                     modulePath, moduleName, extension);
                   if(ifCount) f.Puts("endif\n");
                   f.Puts("\n");
 #if 0
@@ -1796,7 +1796,7 @@ private:
             f.Puts(" $(FVISIBILITY)");
 
             f.Printf(" -c %s%s.%s -o $@ -symbols $(OBJ)\n",
-               modulePath, moduleName, extension, moduleName);
+               modulePath, moduleName, extension);
             if(ifCount) f.Puts("endif\n");
             f.Puts("\n");
          }
@@ -1978,11 +1978,10 @@ private:
                GenMakePrintNodeFlagsVariable(this, nodeCFlagsMapping, "PRJ_CFLAGS", f);
 
                if(!strcmpi(extension, "ec"))
-                  f.Printf(" $(FVISIBILITY) -c $(OBJ)%s.c -o $@\n", moduleName, moduleName);
+                  f.Printf(" $(FVISIBILITY) -c $(OBJ)%s.c -o $@\n", moduleName);
                else
                   f.Printf(" -c %s%s.%s -o $@\n",
-                        modulePath, moduleName, !strcmpi(extension, "ec") ? "c" : extension, moduleName,
-                        collision ? "." : "", collision ? extension : "");
+                        modulePath, moduleName, !strcmpi(extension, "ec") ? "c" : extension);
             }
             if(ifCount) f.Puts("endif\n");
             f.Puts("\n");