Commit 63fdcd96 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Move the "show" target from target.mk to boilerplate.mk

target.mk isn't included everywhere, but show is always handy
parent 65446998
......@@ -22,6 +22,15 @@ FPTOOLS_TOP := $(TOP)
# THIS RULE MUST REMAIN FIRST!
default: all
#------------------------------------------------------------
# Makefile debugging
# to see the effective value used for a Makefile variable, do
# make show VALUE=MY_VALUE
#
show:
@echo '$(VALUE)="$($(VALUE))"'
# -----------------------------------------------------------------------------
# Misc bits
......
......@@ -500,15 +500,6 @@ ifneq "$(TAGS_C_SRCS)" ""
endif
@( DEREFFED=`ls -l Makefile | sed -e 's/.*-> \(.*\)/\1/g'` && $(RM) `dirname $$DEREFFED`/TAGS && $(CP) TAGS `dirname $$DEREFFED` ) 2>/dev/null || echo TAGS file generated, perhaps copy over to source tree?
#------------------------------------------------------------
# Makefile debugging
# to see the effective value used for a Makefile variable, do
# make show VALUE=MY_VALUE
#
show:
@echo '$(VALUE)="$($(VALUE))"'
################################################################################
#
# DocBook XML Documentation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment