In my makefile, I have a variable \'NDK_PROJECT_PATH\', my question is how can I print it out when it compiles?
I read Make file echo displaying "$PATH" st
As per the GNU Make manual and also pointed by 'bobbogo' in the below answer, you can use info / warning / error to display text.
$(error text…)
$(warning text…)
$(info text…)
To print variables,
$(error VAR is $(VAR))
$(warning VAR is $(VAR))
$(info VAR is $(VAR))
'error' would stop the make execution, after showing the error string