print-%:
@echo '$*=$($*)'
$ make print-TYPE_SUFFIX
Or
# For Makefile Debug
# At Cmdline, Type "gmake -f Makefile -f helper.mak print-{VARIABLE}", Where {VARIABLE} Is The Makefile Variable
#
# e.g.
# gmake -f Makefile -f helper.mak print-CFLAGS
#
# CFLAGS=-g -O2 -c
# CFLAGS origin is file
print-%:
@echo $*=$($*)
@echo $*\'s origin is $(origin $*)