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
Run make -n; it shows you the value of the variable..
make -n
Makefile...
all: @echo $(NDK_PROJECT_PATH)
Command:
export NDK_PROJECT_PATH=/opt/ndk/project make -n
Output:
echo /opt/ndk/project