diff --git a/Makefile b/Makefile index 39745dbbe..13e965c9e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + .PHONY: all mostlyclean clean install zip avail unavail bin lib doc html info samples test util checkstyle check .SUFFIXES: diff --git a/doc/Makefile b/doc/Makefile index bfdf0cce3..330f7b31c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + ifneq ($(shell echo),) CMD_EXE = 1 endif diff --git a/libsrc/Makefile b/libsrc/Makefile index 2f1b604d7..1ec0bcfea 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + ifneq ($(shell echo),) CMD_EXE = 1 endif diff --git a/samples/Makefile b/samples/Makefile index d9bda45d4..0a56af3c1 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # # Makefile for cc65 samples # diff --git a/samples/apple2/Makefile b/samples/apple2/Makefile index 55e84aed6..d9fa40f66 100644 --- a/samples/apple2/Makefile +++ b/samples/apple2/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/atari2600/Makefile b/samples/atari2600/Makefile index bd2ebc41a..71264792d 100644 --- a/samples/atari2600/Makefile +++ b/samples/atari2600/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/atari5200/Makefile b/samples/atari5200/Makefile index 2fbda11d9..1bdf1b75d 100644 --- a/samples/atari5200/Makefile +++ b/samples/atari5200/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/cbm/Makefile b/samples/cbm/Makefile index 4b89722d2..a593569b0 100644 --- a/samples/cbm/Makefile +++ b/samples/cbm/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/disasm/Makefile b/samples/disasm/Makefile index f1d93f5da..6599915f6 100644 --- a/samples/disasm/Makefile +++ b/samples/disasm/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Sample makefile using a preprocessor against info files # and the --sync-lines option diff --git a/samples/gamate/Makefile b/samples/gamate/Makefile index cfb8505cc..35aef293d 100644 --- a/samples/gamate/Makefile +++ b/samples/gamate/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/geos/Makefile b/samples/geos/Makefile index 578927760..ad4033f80 100644 --- a/samples/geos/Makefile +++ b/samples/geos/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/geos/grc/Makefile b/samples/geos/grc/Makefile index ef30a6e03..360c7bc7d 100644 --- a/samples/geos/grc/Makefile +++ b/samples/geos/grc/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/kim1/Makefile b/samples/kim1/Makefile index 08bb2a780..dbdbcec8d 100644 --- a/samples/kim1/Makefile +++ b/samples/kim1/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/lynx/Makefile b/samples/lynx/Makefile index b4ef64af0..078ea129a 100644 --- a/samples/lynx/Makefile +++ b/samples/lynx/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/sim65/Makefile b/samples/sim65/Makefile index 865594736..3a06321ee 100644 --- a/samples/sim65/Makefile +++ b/samples/sim65/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/supervision/Makefile b/samples/supervision/Makefile index 097329384..9396be63d 100644 --- a/samples/supervision/Makefile +++ b/samples/supervision/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/sym1/Makefile b/samples/sym1/Makefile index 281b5bcd0..8abcfb5aa 100644 --- a/samples/sym1/Makefile +++ b/samples/sym1/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/samples/tutorial/Makefile b/samples/tutorial/Makefile index eb8627c29..7b3286e27 100644 --- a/samples/tutorial/Makefile +++ b/samples/tutorial/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/src/Makefile b/src/Makefile index c5d91ce5a..085a50f9d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + ifneq ($(shell echo),) CMD_EXE = 1 endif diff --git a/targettest/Makefile b/targettest/Makefile index f78e22461..56b5df446 100644 --- a/targettest/Makefile +++ b/targettest/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # # Makefile for cc65 testcode # diff --git a/targettest/accelerator/Makefile b/targettest/accelerator/Makefile index dd5011459..6e710d010 100644 --- a/targettest/accelerator/Makefile +++ b/targettest/accelerator/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. SYS ?= c64 diff --git a/targettest/atari/Makefile b/targettest/atari/Makefile index d5b4d9593..0e376e9bc 100644 --- a/targettest/atari/Makefile +++ b/targettest/atari/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/targettest/cbm/Makefile b/targettest/cbm/Makefile index c3171b13e..ebe00198f 100644 --- a/targettest/cbm/Makefile +++ b/targettest/cbm/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. SYS ?= c64 diff --git a/targettest/gamate/Makefile b/targettest/gamate/Makefile index e2b060406..f03c2b064 100644 --- a/targettest/gamate/Makefile +++ b/targettest/gamate/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/targettest/pce/Makefile b/targettest/pce/Makefile index 89abca6b6..549720a40 100644 --- a/targettest/pce/Makefile +++ b/targettest/pce/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/test/Makefile b/test/Makefile index 495082fa4..94bc7e5ea 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # top-level Makefile for the regression tests ifneq ($(shell echo),) diff --git a/test/asm/Makefile b/test/asm/Makefile index 5b3bff3f8..2d5ba764e 100644 --- a/test/asm/Makefile +++ b/test/asm/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # top-level Makefile for the regression tests ifneq ($(shell echo),) diff --git a/test/asm/cpudetect/Makefile b/test/asm/cpudetect/Makefile index ffddb1ad8..fde19b17b 100644 --- a/test/asm/cpudetect/Makefile +++ b/test/asm/cpudetect/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the assembler regression tests ifneq ($(shell echo),) diff --git a/test/asm/err/Makefile b/test/asm/err/Makefile index 6d2430d34..c1a8285e4 100644 --- a/test/asm/err/Makefile +++ b/test/asm/err/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the tests that MUST NOT compile ifneq ($(shell echo),) diff --git a/test/asm/listing/Makefile b/test/asm/listing/Makefile index 23aa3969c..4321d3b95 100644 --- a/test/asm/listing/Makefile +++ b/test/asm/listing/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the assembler regression tests ifneq ($(shell echo),) diff --git a/test/asm/misc/Makefile b/test/asm/misc/Makefile index 5a9d4f3ef..1b2305cda 100644 --- a/test/asm/misc/Makefile +++ b/test/asm/misc/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the remaining asm tests that need special care in one way or another ifneq ($(shell echo),) diff --git a/test/asm/opcodes/Makefile b/test/asm/opcodes/Makefile index 00be96d91..70dd41c06 100644 --- a/test/asm/opcodes/Makefile +++ b/test/asm/opcodes/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the assembler regression tests ifneq ($(shell echo),) diff --git a/test/asm/val/Makefile b/test/asm/val/Makefile index 54b1100ec..08c000f95 100644 --- a/test/asm/val/Makefile +++ b/test/asm/val/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the regression tests that return an error code on failure ifneq ($(shell echo),) diff --git a/test/dasm/Makefile b/test/dasm/Makefile index e84560ad2..29e97b9c1 100644 --- a/test/dasm/Makefile +++ b/test/dasm/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the disassembler regression tests ifneq ($(shell echo),) diff --git a/test/err/Makefile b/test/err/Makefile index 1273bbb2c..a0cdc22ae 100644 --- a/test/err/Makefile +++ b/test/err/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the tests that MUST NOT compile ifneq ($(shell echo),) diff --git a/test/misc/Makefile b/test/misc/Makefile index 48293e504..989e8f83a 100644 --- a/test/misc/Makefile +++ b/test/misc/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the remaining tests that need special care in one way or another ifneq ($(shell echo),) diff --git a/test/ref/Makefile b/test/ref/Makefile index e82c6de37..2dadf5bcc 100644 --- a/test/ref/Makefile +++ b/test/ref/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the regression tests that generate output which has to be # compared with reference output diff --git a/test/standard/Makefile b/test/standard/Makefile index bf513c84e..e359fa975 100644 --- a/test/standard/Makefile +++ b/test/standard/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the regression tests that return an error code on failure ifneq ($(shell echo),) diff --git a/test/standard_err/Makefile b/test/standard_err/Makefile index 700a52eea..f554d33eb 100644 --- a/test/standard_err/Makefile +++ b/test/standard_err/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the tests that MUST NOT compile ifneq ($(shell echo),) diff --git a/test/todo/Makefile b/test/todo/Makefile index 062b899ce..ec14cf8d4 100644 --- a/test/todo/Makefile +++ b/test/todo/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the currently failing regression tests that return an error code on failure ifneq ($(shell echo),) diff --git a/test/val/Makefile b/test/val/Makefile index 56d8e5ff9..68882971d 100644 --- a/test/val/Makefile +++ b/test/val/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + # Makefile for the regression tests that return an error code on failure ifneq ($(shell echo),) diff --git a/util/Makefile b/util/Makefile index 6d960abf6..337320d36 100644 --- a/util/Makefile +++ b/util/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + .PHONY: atari gamate zlib diff --git a/util/atari/Makefile b/util/atari/Makefile index e53c837aa..aa3163ec4 100644 --- a/util/atari/Makefile +++ b/util/atari/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + CC = $(CROSS_COMPILE)gcc diff --git a/util/gamate/Makefile b/util/gamate/Makefile index 54fa74191..d9b4bbd42 100644 --- a/util/gamate/Makefile +++ b/util/gamate/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + CC = $(CROSS_COMPILE)gcc diff --git a/util/zlib/Makefile b/util/zlib/Makefile index f276ddaf2..8068ea120 100644 --- a/util/zlib/Makefile +++ b/util/zlib/Makefile @@ -1,3 +1,9 @@ +# ---- Display info during parsing phase ---- +SILENT:=$(findstring s,$(word 1, $(MAKEFLAGS))) +ifneq ($(SILENT),s) + $(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS)) +endif + CC = $(CROSS_COMPILE)gcc