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

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -