Skip to content

Commit

Permalink
Add Makefile debugging trick so that we can inspect runtime Makefile …
Browse files Browse the repository at this point in the history
…variables
  • Loading branch information
staticfloat committed May 4, 2017
1 parent 4f75989 commit 5b04cf7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 '$*=$($*)'

0 comments on commit 5b04cf7

Please sign in to comment.