This commit is contained in:
Nishi 2026-05-09 17:42:23 +09:00
commit 0192d0a2fd
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 6 additions and 13 deletions

View file

@ -121,13 +121,13 @@ pmake.libs = function(target, if_str) {
return targets.map(libs).flat();
};
pmake.setSystem = function(target){
pmake.setSystem = function(target) {
pmake.system = pmake.systems[target];
if(pmake.system.init) pmake.system.init();
};
pmake.setCompiler = function(target){
pmake.setCompiler = function(target) {
pmake.compiler = pmake.compilers[target];
if(pmake.compiler.init) pmake.compiler.init();