This commit is contained in:
Nishi 2026-05-15 00:01:48 +09:00
commit 9eb085ee28
3 changed files with 9 additions and 9 deletions

View file

@ -20,9 +20,9 @@ Watcom.compile = function(target, obj, src) {
const includes = pmake.includes(target).map(add_i).join(" ");
const flags = "-bt=nt -fr= -q " + includes + " -fo=" + obj + " " + src;
if(src.endsWith(".rc")){
if(src.endsWith(".rc")) {
return "wrc -bt=nt -r -fo=" + obj + " " + src;
}else if(src.endsWith(".c")) {
} else if(src.endsWith(".c")) {
return "wcc386 " + flags;
} else {
return "wpp386 " + flags;