This commit is contained in:
Nishi 2026-05-12 09:02:25 +09:00
commit 9520be0be0
2 changed files with 5 additions and 3 deletions

View file

@ -193,7 +193,11 @@ Compiler.prototype.output = function(target) {
} else if(target instanceof pmake.LibraryProject) {
return "lib" + target.output + ".a";
} 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;