mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 23:47:00 +00:00
mymake:: an option -shared to create a less intrusive shared object library
This commit is contained in:
parent
92745fe1bb
commit
cf0d9ac501
@ -240,6 +240,13 @@ int main(int argc, char **argv) {
|
||||
exec_name = argv[i+1];
|
||||
i++;
|
||||
}
|
||||
else if(s == "-shared") {
|
||||
obj_dir += "/shared";
|
||||
setdir += "../";
|
||||
opts += " -fPIC -DNOMAIN";
|
||||
linker += " -shared -fPIC";
|
||||
default_exec_name = "libhyper.so";
|
||||
}
|
||||
else if(s == "-O2")
|
||||
optimized = 2, compiler += " -O2", obj_dir += "/O2", setdir += "../";
|
||||
else if(s == "-O3")
|
||||
|
Loading…
Reference in New Issue
Block a user