Skip to content

Commit 4db8121

Browse files
committed
depends: add print-% recipe for debugging
1 parent 2ba70c2 commit 4db8121

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

depends/Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.NOTPARALLEL :
22

3+
# Pattern rule to print variables, e.g. make print-top_srcdir
4+
print-%: FORCE
5+
@echo '$*'='$($*)'
6+
37
SOURCES_PATH ?= $(BASEDIR)/sources
48
BASE_CACHE ?= $(BASEDIR)/built
59
SDK_PATH ?= $(BASEDIR)/SDKs
@@ -196,4 +200,5 @@ download-win:
196200
download: download-osx download-linux download-win
197201

198202
.PHONY: install cached download-one download-osx download-linux download-win download check-packages check-sources
203+
.PHONY: FORCE
199204
$(V).SILENT:

0 commit comments

Comments
 (0)