mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-30 10:54:51 +00:00
mymake:: option -pg
This commit is contained in:
parent
64f68e636a
commit
3e7791c16f
@ -279,6 +279,8 @@ int main(int argc, char **argv) {
|
|||||||
optimized = 2, compiler += " -O2", obj_dir += "/O2", setdir += "../";
|
optimized = 2, compiler += " -O2", obj_dir += "/O2", setdir += "../";
|
||||||
else if(s == "-O3")
|
else if(s == "-O3")
|
||||||
optimized = 3, compiler += " -O3", obj_dir += "/O3", setdir += "../";
|
optimized = 3, compiler += " -O3", obj_dir += "/O3", setdir += "../";
|
||||||
|
else if(s == "-pg")
|
||||||
|
compiler += " -pg", linker += " -pg";
|
||||||
else if(s == "-Werror")
|
else if(s == "-Werror")
|
||||||
compiler += " -Werror", obj_dir += "/Werror", setdir += "../";
|
compiler += " -Werror", obj_dir += "/Werror", setdir += "../";
|
||||||
else if(s.substr(0, 4) == "-std")
|
else if(s.substr(0, 4) == "-std")
|
||||||
|
Loading…
Reference in New Issue
Block a user