1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-28 09:54:52 +00:00

mymake:: option -pg

This commit is contained in:
Zeno Rogue 2024-12-22 12:56:14 +01:00
parent 64f68e636a
commit 3e7791c16f

View File

@ -279,6 +279,8 @@ int main(int argc, char **argv) {
optimized = 2, compiler += " -O2", obj_dir += "/O2", setdir += "../";
else if(s == "-O3")
optimized = 3, compiler += " -O3", obj_dir += "/O3", setdir += "../";
else if(s == "-pg")
compiler += " -pg", linker += " -pg";
else if(s == "-Werror")
compiler += " -Werror", obj_dir += "/Werror", setdir += "../";
else if(s.substr(0, 4) == "-std")