summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-29 22:54:43 +0800
committerruki <[email protected]>2021-06-29 22:54:43 +0800
commit8f2b7f27a75d33fed60e9d7037f895bfb7d6434e (patch)
tree9f48c10cb3387dba58fd8dcd9b74db0fe06a1a25 /makefile
parentb115e1612528899fecb16f453ec559d17a54219b (diff)
add verbose output for makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/makefile b/makefile
index e25c7f8b8..0c7db0fcc 100644
--- a/makefile
+++ b/makefile
@@ -1,9 +1,10 @@
# is debug?
debug :=n
-verbose :=
-#debug :=y
-#verbose :=-v
+# verbose
+ifneq ($(VERBOSE),y)
+VECHO = @
+endif
# prefix
ifeq ($(prefix),) # compatible with brew script (make install PREFIX=xxx DESTDIR=/xxx)