From dd2f19260c7affa49a5d818204ed8c9f12d27b61 Mon Sep 17 00:00:00 2001 From: Gorilla Sapiens Date: Wed, 4 Jun 2025 03:03:18 +0000 Subject: [PATCH] added information to Makefile output --- Makefile | 10 ++++++++++ doc/Makefile | 10 ++++++++++ libsrc/Makefile | 10 ++++++++++ samples/Makefile | 10 ++++++++++ samples/apple2/Makefile | 10 ++++++++++ samples/atari2600/Makefile | 10 ++++++++++ samples/atari5200/Makefile | 10 ++++++++++ samples/cbm/Makefile | 10 ++++++++++ samples/disasm/Makefile | 10 ++++++++++ samples/gamate/Makefile | 10 ++++++++++ samples/geos/Makefile | 10 ++++++++++ samples/geos/grc/Makefile | 10 ++++++++++ samples/kim1/Makefile | 10 ++++++++++ samples/lynx/Makefile | 10 ++++++++++ samples/sim65/Makefile | 10 ++++++++++ samples/supervision/Makefile | 10 ++++++++++ samples/sym1/Makefile | 10 ++++++++++ samples/tutorial/Makefile | 10 ++++++++++ src/Makefile | 10 ++++++++++ targettest/Makefile | 10 ++++++++++ targettest/accelerator/Makefile | 10 ++++++++++ targettest/atari/Makefile | 10 ++++++++++ targettest/cbm/Makefile | 10 ++++++++++ targettest/gamate/Makefile | 10 ++++++++++ targettest/pce/Makefile | 10 ++++++++++ test/Makefile | 10 ++++++++++ test/asm/Makefile | 10 ++++++++++ test/asm/cpudetect/Makefile | 10 ++++++++++ test/asm/err/Makefile | 10 ++++++++++ test/asm/listing/Makefile | 10 ++++++++++ test/asm/misc/Makefile | 10 ++++++++++ test/asm/opcodes/Makefile | 10 ++++++++++ test/asm/val/Makefile | 10 ++++++++++ test/dasm/Makefile | 10 ++++++++++ test/err/Makefile | 10 ++++++++++ test/misc/Makefile | 10 ++++++++++ test/ref/Makefile | 10 ++++++++++ test/standard/Makefile | 10 ++++++++++ test/standard_err/Makefile | 10 ++++++++++ test/todo/Makefile | 10 ++++++++++ test/val/Makefile | 10 ++++++++++ util/Makefile | 10 ++++++++++ util/atari/Makefile | 10 ++++++++++ util/gamate/Makefile | 10 ++++++++++ util/zlib/Makefile | 10 ++++++++++ 45 files changed, 450 insertions(+) diff --git a/Makefile b/Makefile index 29fcbbf96..91c1d78df 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + .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..cbb41132d 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + ifneq ($(shell echo),) CMD_EXE = 1 endif diff --git a/libsrc/Makefile b/libsrc/Makefile index 8a4f11414..c3651e069 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + ifneq ($(shell echo),) CMD_EXE = 1 endif diff --git a/samples/Makefile b/samples/Makefile index 3680f542c..194bd3244 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # # Makefile for cc65 samples # diff --git a/samples/apple2/Makefile b/samples/apple2/Makefile index 55e84aed6..2bf9ca257 100644 --- a/samples/apple2/Makefile +++ b/samples/apple2/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..8224b8784 100644 --- a/samples/atari2600/Makefile +++ b/samples/atari2600/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..838966782 100644 --- a/samples/atari5200/Makefile +++ b/samples/atari5200/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..fbd0248be 100644 --- a/samples/cbm/Makefile +++ b/samples/cbm/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..818742e5c 100644 --- a/samples/disasm/Makefile +++ b/samples/disasm/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..629b5a584 100644 --- a/samples/gamate/Makefile +++ b/samples/gamate/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..9d7a98d3f 100644 --- a/samples/geos/Makefile +++ b/samples/geos/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..f3343a4bb 100644 --- a/samples/geos/grc/Makefile +++ b/samples/geos/grc/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..96a64cbcf 100644 --- a/samples/kim1/Makefile +++ b/samples/kim1/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..44e6cec71 100644 --- a/samples/lynx/Makefile +++ b/samples/lynx/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..0cf9778c6 100644 --- a/samples/sim65/Makefile +++ b/samples/sim65/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..9dd201f6a 100644 --- a/samples/supervision/Makefile +++ b/samples/supervision/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..e81cc7c33 100644 --- a/samples/sym1/Makefile +++ b/samples/sym1/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..eeb37f72d 100644 --- a/samples/tutorial/Makefile +++ b/samples/tutorial/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # Run 'make SYS='; or, set a SYS env. # var. to build for another target system. diff --git a/src/Makefile b/src/Makefile index 034a2230f..8d335d52c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + ifneq ($(shell echo),) CMD_EXE = 1 endif diff --git a/targettest/Makefile b/targettest/Makefile index f78e22461..19d141a12 100644 --- a/targettest/Makefile +++ b/targettest/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # # Makefile for cc65 testcode # diff --git a/targettest/accelerator/Makefile b/targettest/accelerator/Makefile index dd5011459..2cc67d4fe 100644 --- a/targettest/accelerator/Makefile +++ b/targettest/accelerator/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..2f1856ffd 100644 --- a/targettest/atari/Makefile +++ b/targettest/atari/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..8944d72c6 100644 --- a/targettest/cbm/Makefile +++ b/targettest/cbm/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..674ccf85f 100644 --- a/targettest/gamate/Makefile +++ b/targettest/gamate/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..9a97027f3 100644 --- a/targettest/pce/Makefile +++ b/targettest/pce/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..21d0623e2 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # top-level Makefile for the regression tests ifneq ($(shell echo),) diff --git a/test/asm/Makefile b/test/asm/Makefile index 5b3bff3f8..c69bbb725 100644 --- a/test/asm/Makefile +++ b/test/asm/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # top-level Makefile for the regression tests ifneq ($(shell echo),) diff --git a/test/asm/cpudetect/Makefile b/test/asm/cpudetect/Makefile index ffddb1ad8..cd755bd13 100644 --- a/test/asm/cpudetect/Makefile +++ b/test/asm/cpudetect/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # Makefile for the assembler regression tests ifneq ($(shell echo),) diff --git a/test/asm/err/Makefile b/test/asm/err/Makefile index 6d2430d34..0f37a2b9a 100644 --- a/test/asm/err/Makefile +++ b/test/asm/err/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..88940c769 100644 --- a/test/asm/listing/Makefile +++ b/test/asm/listing/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # Makefile for the assembler regression tests ifneq ($(shell echo),) diff --git a/test/asm/misc/Makefile b/test/asm/misc/Makefile index 5a9d4f3ef..3605504b1 100644 --- a/test/asm/misc/Makefile +++ b/test/asm/misc/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..d0115ae05 100644 --- a/test/asm/opcodes/Makefile +++ b/test/asm/opcodes/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # Makefile for the assembler regression tests ifneq ($(shell echo),) diff --git a/test/asm/val/Makefile b/test/asm/val/Makefile index 54b1100ec..34111cfed 100644 --- a/test/asm/val/Makefile +++ b/test/asm/val/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..240503191 100644 --- a/test/dasm/Makefile +++ b/test/dasm/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # Makefile for the disassembler regression tests ifneq ($(shell echo),) diff --git a/test/err/Makefile b/test/err/Makefile index 1273bbb2c..238e57e35 100644 --- a/test/err/Makefile +++ b/test/err/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # Makefile for the tests that MUST NOT compile ifneq ($(shell echo),) diff --git a/test/misc/Makefile b/test/misc/Makefile index 48293e504..dcda6e7b4 100644 --- a/test/misc/Makefile +++ b/test/misc/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..213512640 100644 --- a/test/ref/Makefile +++ b/test/ref/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..d710ab443 100644 --- a/test/standard/Makefile +++ b/test/standard/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..c99108cca 100644 --- a/test/standard_err/Makefile +++ b/test/standard_err/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # Makefile for the tests that MUST NOT compile ifneq ($(shell echo),) diff --git a/test/todo/Makefile b/test/todo/Makefile index 062b899ce..cb341ff80 100644 --- a/test/todo/Makefile +++ b/test/todo/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..75a0755e8 100644 --- a/test/val/Makefile +++ b/test/val/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + # 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..b4c1d900c 100644 --- a/util/Makefile +++ b/util/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + .PHONY: atari gamate zlib diff --git a/util/atari/Makefile b/util/atari/Makefile index e53c837aa..3fbde98c2 100644 --- a/util/atari/Makefile +++ b/util/atari/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + CC = $(CROSS_COMPILE)gcc diff --git a/util/gamate/Makefile b/util/gamate/Makefile index 54fa74191..cbd6c68d9 100644 --- a/util/gamate/Makefile +++ b/util/gamate/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + CC = $(CROSS_COMPILE)gcc diff --git a/util/zlib/Makefile b/util/zlib/Makefile index f276ddaf2..b0f274539 100644 --- a/util/zlib/Makefile +++ b/util/zlib/Makefile @@ -1,3 +1,13 @@ +# ---- Display info during parsing phase ---- +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) +$(info ~~~ Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST)))) +ifeq ($(MAKECMDGOALS),) + $(info ~~~ Invoked target: (default)) +else + $(info ~~~ Invoked target: $(MAKECMDGOALS)) +endif +$(info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~) + CC = $(CROSS_COMPILE)gcc