aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.