This commit is contained in:
Nishi 2026-05-12 08:59:46 +09:00
commit b65cb44ff0
3 changed files with 15 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
*.make
Makefile
/midas
/midas.exe
*.o
*.a

2
external/ppr vendored

@ -1 +1 @@
Subproject commit 7927d5114a764edd2f447d20ca65f834b20c4e0c
Subproject commit 2129af37ff96ea3c99db78fc16dc08562354a97c

View file

@ -13,6 +13,8 @@ function main() {
main.milsko = "/usr/local";
(function() {
var opt;
opt = new pmake.Option("with-milsko=PATH");
opt.category = "General";
opt.description = "Specify path to milsko";
@ -21,5 +23,16 @@ opt.action = function(value) {
main.milsko = value;
};
pmake.register(opt);
opt = new pmake.Option("with-mingw=PREFIX");
opt.category = "General";
opt.description = "Use MinGW";
opt.action = function(value) {
pmake.compiler.prefix = value;
pmake.setSystem("Windows");
};
pmake.register(opt);
})();