mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Add makefile debugging target; use "make print-FOO" to print the
value/definition/origin of FOO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65245 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
278f83daeb
commit
92acef0e94
@ -1765,3 +1765,11 @@ printvars::
|
||||
$(Echo) "SubDirs : " '$(SubDirs)'
|
||||
$(Echo) "ProjLibsPaths: " '$(ProjLibsPaths)'
|
||||
$(Echo) "ProjLibsOptions: " '$(ProjLibsOptions)'
|
||||
|
||||
###
|
||||
# Debugging
|
||||
|
||||
# General debugging rule, use 'make print-XXX' to print the
|
||||
# definition, value and origin of XXX.
|
||||
print-%:
|
||||
$(error PRINT: $(value $*) = "$($*)" (from $(origin $*)))
|
||||
|
Loading…
Reference in New Issue
Block a user