]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
Makefile: even prettier output
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 14 Oct 2017 03:17:40 +0000 (05:17 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 17 Oct 2017 17:26:07 +0000 (19:26 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/Makefile

index 01f873cada03f55915d49de1a286580b0069e9ff..bd727d47ce64ed46a8c521b55147aefcd1757efa 100644 (file)
@@ -48,10 +48,10 @@ endif
 
 ifneq ($(V),1)
 BUILT_IN_LINK.o := $(LINK.o)
-LINK.o = @echo "  LD  $@";
+LINK.o = @echo "  LD      $$(pwd)/$@";
 LINK.o += $(BUILT_IN_LINK.o)
 BUILT_IN_COMPILE.c := $(COMPILE.c)
-COMPILE.c = @echo "  CC  $@";
+COMPILE.c = @echo "  CC      $$(pwd)/$@";
 COMPILE.c += $(BUILT_IN_COMPILE.c)
 endif
 
@@ -59,7 +59,7 @@ wg: $(patsubst %.c,%.o,$(wildcard *.c))
 
 ifneq ($(V),1)
 clean:
-       @echo "  RM  " 'wg *.o *.d'
+       @echo "  CLEAN   $$(pwd)/{wg,*.o,*.d}"
        @$(RM) wg *.o *.d
 else
 clean: