Add Makefile debugging trick so that we can inspect runtime Makefile variables

This commit is contained in:
Elliot Saba 2017-05-04 11:51:29 -07:00
parent 4f75989634
commit 5b04cf7ab4
1 changed files with 5 additions and 0 deletions

View File

@ -329,3 +329,8 @@ endif
@rm -f *.grd Makefile.conf_last config_last.h
@(cd $(NETLIB_LAPACK_DIR)/TESTING && rm -f x* *.out testing_results.txt)
@echo Done.
# Makefile debugging trick:
# call print-VARIABLE to see the runtime value of any variable
print-%:
@echo '$*=$($*)'