summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-14 05:17:40 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-17 19:26:07 +0200
commit93d0a79a1f629bfb122c2e1a1857fc999bc86606 (patch)
tree754b4b74a7da42f2d208270467d6ba1086e7e1af /src/Makefile
parent61bd2c28fabff8b4cee9e58bcebda68feaf36ce6 (diff)
Makefile: even prettier output
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index ec6cfc5..c4ccb55 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,6 +9,10 @@ PWD := $(shell pwd)
all: module tools
debug: module-debug tools-debug
+ifneq ($(V),1)
+MAKEFLAGS += --no-print-directory
+endif
+
version.h:
@export GIT_CEILING_DIRECTORIES="$$(readlink -f ../..)" && \
ver="#define WIREGUARD_VERSION \"$$(git describe --dirty 2>/dev/null)\"" && \