From bfb31ac953a3ccffc95c7f24d617e081b899f6c1 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 3 Jan 2020 12:36:10 +0100 Subject: [PATCH] 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 Fixes: eb68ad07 ("Makefile: even prettier output") --- src/Makefile | 6 +++--- 1 file 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: