diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-01-03 12:36:10 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-01-03 12:36:10 +0100 |
commit | bfb31ac953a3ccffc95c7f24d617e081b899f6c1 (patch) | |
tree | 5be6a71f0d16a954a4db119902f5d5606438a6fb | |
parent | version: bump (diff) | |
download | wireguard-tools-bfb31ac953a3ccffc95c7f24d617e081b899f6c1.tar.xz wireguard-tools-bfb31ac953a3ccffc95c7f24d617e081b899f6c1.zip |
Makefile: remove pwd from compile output
We previously included $(pwd) in the compile output pretty printer,
because it matched our parent out-of-tree module build. Since we're no
longer coupled to the module, we can return to a prettier scheme of just
using the object name.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Fixes: eb68ad07 ("Makefile: even prettier output")
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile index dc7452d..5331894 100644 --- a/src/Makefile +++ b/src/Makefile @@ -68,10 +68,10 @@ endif ifneq ($(V),1) BUILT_IN_LINK.o := $(LINK.o) -LINK.o = @echo " LD $$(pwd)/$@"; +LINK.o = @echo " LD $@"; LINK.o += $(BUILT_IN_LINK.o) BUILT_IN_COMPILE.c := $(COMPILE.c) -COMPILE.c = @echo " CC $$(pwd)/$@"; +COMPILE.c = @echo " CC $@"; COMPILE.c += $(BUILT_IN_COMPILE.c) endif @@ -79,7 +79,7 @@ wg: $(patsubst %.c,%.o,$(wildcard *.c)) ifneq ($(V),1) clean: - @echo " CLEAN $$(pwd)/{wg,*.o,*.d}" + @echo " CLEAN {wg,*.o,*.d}" @$(RM) wg *.o *.d else clean: |