1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

option -win in mymain to compile for Windows (local use, does not work)

This commit is contained in:
Zeno Rogue 2019-10-05 12:38:35 +02:00
parent a415732188
commit 0e1b9c6720

View File

@ -67,6 +67,10 @@ int main(int argc, char **argv) {
if(c == '=' || c == '-' || c == '/') obj_dir += "_";
else obj_dir += c;
}
else if(s == "-win")
compiler = "runbat bwin-g.bat -c", obj_dir += "/win", setdir += "../", standard = "",
linker = "runbat bwin-linker.bat", libs = "";
else if(s == "-O2")
optimized = 2, compiler += " -O2", obj_dir += "/O2", setdir += "../";
else if(s == "-O3")