win32
This commit is contained in:
parent
31415c8fc0
commit
9520be0be0
2 changed files with 5 additions and 3 deletions
|
|
@ -7,8 +7,6 @@ Watcom.description = "Open Watcom";
|
||||||
Watcom.output = function(target) {
|
Watcom.output = function(target) {
|
||||||
if(target instanceof pmake.LibraryProject) {
|
if(target instanceof pmake.LibraryProject) {
|
||||||
return target.output + ".lib";
|
return target.output + ".lib";
|
||||||
} else if(target instanceof pmake.ExecutableProject) {
|
|
||||||
return target.output + ".exe";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return pmake.Compiler.prototype.output.call(this, target);
|
return pmake.Compiler.prototype.output.call(this, target);
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,11 @@ Compiler.prototype.output = function(target) {
|
||||||
} else if(target instanceof pmake.LibraryProject) {
|
} else if(target instanceof pmake.LibraryProject) {
|
||||||
return "lib" + target.output + ".a";
|
return "lib" + target.output + ".a";
|
||||||
} else if(target instanceof pmake.ExecutableProject) {
|
} else if(target instanceof pmake.ExecutableProject) {
|
||||||
return target.output;
|
if(pmake.system.target == "Windows"){
|
||||||
|
return target.output + ".exe";
|
||||||
|
}else{
|
||||||
|
return target.output;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return target.output;
|
return target.output;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue