From e78f18f7078c78c2a6195c4c6478c55d4e43284f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 15 Dec 2025 14:49:04 +0100 Subject: Only use --stats if V=1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b840d78..9d6abf6 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,14 @@ endif # that you might require. CCOPTS ?= --target nes -# Be strict and more verbose when using xa65. +# Be strict and when using xa65, and extra verbose if V=1. ifeq ($(CC65),xa65) +ifeq ($(strip $(V)),) + CCOPTS += --strict +else CCOPTS += --strict --stats endif +endif # Ruby is used to generate the files on `config/values/`. If it can't be found, # a warning will be echo'ed. -- cgit v1.2.3