mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 10:00:42 +00:00
mymake: support -l and -I
This commit is contained in:
parent
a741446b7b
commit
1215c65e40
@ -73,6 +73,14 @@ int main(int argc, char **argv) {
|
||||
optimized = 3, compiler += " -O3", obj_dir += "/O3", setdir += "../";
|
||||
else if(s.substr(0, 4) == "-std")
|
||||
standard = s;
|
||||
else if(s.substr(0, 2) == "-l")
|
||||
linker += " " + s;
|
||||
else if(s == "-I") {
|
||||
linker += " " + s + " " + argv[i+1];
|
||||
i++;
|
||||
}
|
||||
else if(s.substr(0, 2) == "-I")
|
||||
linker += " " + s;
|
||||
else modules.push_back(s);
|
||||
}
|
||||
if(!optimized)
|
||||
|
Loading…
Reference in New Issue
Block a user