]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
Makefile: remove pwd from compile output
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 3 Jan 2020 11:36:10 +0000 (12:36 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 3 Jan 2020 11:36:10 +0000 (12:36 +0100)
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")
src/Makefile

index dc7452dd9b827f28362ca2c74dd62346aa2a3c5d..5331894424a30eabc58b471536558563d6ddaed8 100644 (file)
@@ -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: