aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit9ea28cad7d713e938656f6294167dfc80f71e0fa (patch)
tree7d2e0ed07928db85e0e893f12448eebf5b87b27d /src/Makefile
parentqemu: newer packages (diff)
downloadwireguard-monolithic-historical-9ea28cad7d713e938656f6294167dfc80f71e0fa.tar.xz
wireguard-monolithic-historical-9ea28cad7d713e938656f6294167dfc80f71e0fa.zip
Makefile: even prettier output
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)\"" && \