Passing compiler flags via make argument rather than Makefile -


is possible add compiler flags compiler calls (all .cpp files) via make argument rather makefile? if possible, how?

yes, possible. can pass make operand of form variable=value defines make variable variable have value, overriding content of variable defined in makefile. consult documentation of make implementation more details. notice may work differently when using := assignment in gnu make.


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -