From: Jason A. Donenfeld Date: Sat, 14 Oct 2017 03:17:40 +0000 (+0200) Subject: Makefile: even prettier output X-Git-Tag: v1.0.20191226~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb68ad072290491f473ac969a3125188c03ce791;p=thirdparty%2Fwireguard-tools.git Makefile: even prettier output Signed-off-by: Jason A. Donenfeld --- diff --git a/src/Makefile b/src/Makefile index 01f873c..bd727d4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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: