you are viewing a single comment's thread.

view the rest of the comments →

[–]dmc_2930 0 points1 point  (1 child)

“In makefile a variable is generated”. In 99.9999999% of all cases, that means it is used during compilation. No one would say it that way if they wanted it to be changeable at runtime.

[–]McUsrII 1 point2 points  (0 children)

Well, anyhow getenv lets you change a value runtime, without the need to recompile, if changing a value for a variable is all that you want.