Makefile: even prettier output

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2017-10-14 05:17:40 +02:00
parent d7b3f0fcaf
commit eb68ad0722

View 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: