aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2025-12-15 14:49:04 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2025-12-15 15:31:10 +0100
commite78f18f7078c78c2a6195c4c6478c55d4e43284f (patch)
tree75270d75c5718d239130786fec28d0ea34abe58d /Makefile
parent74b1003ab8abad2f8220de4f2f18a3b118f23f01 (diff)
downloadjetpac.nes-e78f18f7078c78c2a6195c4c6478c55d4e43284f.tar.gz
jetpac.nes-e78f18f7078c78c2a6195c4c6478c55d4e43284f.zip
Only use --stats if V=1
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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.