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

mymake:: allow -f* options

This commit is contained in:
Zeno Rogue 2020-05-15 11:47:27 +02:00
parent ba828ee54c
commit 5f85adc556

View File

@ -68,6 +68,15 @@ int main(int argc, char **argv) {
if(c == '=' || c == '-' || c == '/') obj_dir += "_";
else obj_dir += c;
}
else if(s.substr(0, 2) == "-f") {
opts += " " + s;
obj_dir += "/";
setdir += "../";
for(char c: s)
if(c == '=' || c == '-' || c == '/') obj_dir += "_";
else obj_dir += c;
linker += " " + s;
}
else if(s == "-win")
compiler = "runbat bwin-g.bat -c", obj_dir += "/win", setdir += "../", standard = "",
linker = "runbat bwin-linker.bat", libs = "";