HOST_LP := $(if $(WINDOWS_HOST),$(if $(STATIC_LIBRARY_TARGET),lib,),lib)
# VERSIONING
-VER := $(if $(VERSION),.$(VERSION),)
+VER := $(if $(WINDOWS_TARGET),,$(if $(VERSION),.$(VERSION),))
# SUPER TOOLS
ifdef CCACHE
strcat(fileName, "$(E)");
break;
case sharedLibrary:
- strcat(fileName, "$(SO)");
+ strcat(fileName, "$(SO)$(VER)");
break;
case staticLibrary:
strcat(fileName, "$(A)");
strcpy(targetNoSpaces, targetDir);
PathCatSlash(targetNoSpaces, target);
ReplaceSpaces(targetNoSpaces, targetNoSpaces);
- f.Printf("TARGET = %s$(VER)\n", targetNoSpaces);
+ f.Printf("TARGET = %s\n", targetNoSpaces);
if(test)
{