Makefile: even prettier output
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
d7b3f0fcaf
commit
eb68ad0722
|
@ -48,10 +48,10 @@ endif
|
||||||
|
|
||||||
ifneq ($(V),1)
|
ifneq ($(V),1)
|
||||||
BUILT_IN_LINK.o := $(LINK.o)
|
BUILT_IN_LINK.o := $(LINK.o)
|
||||||
LINK.o = @echo " LD $@";
|
LINK.o = @echo " LD $$(pwd)/$@";
|
||||||
LINK.o += $(BUILT_IN_LINK.o)
|
LINK.o += $(BUILT_IN_LINK.o)
|
||||||
BUILT_IN_COMPILE.c := $(COMPILE.c)
|
BUILT_IN_COMPILE.c := $(COMPILE.c)
|
||||||
COMPILE.c = @echo " CC $@";
|
COMPILE.c = @echo " CC $$(pwd)/$@";
|
||||||
COMPILE.c += $(BUILT_IN_COMPILE.c)
|
COMPILE.c += $(BUILT_IN_COMPILE.c)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ wg: $(patsubst %.c,%.o,$(wildcard *.c))
|
||||||
|
|
||||||
ifneq ($(V),1)
|
ifneq ($(V),1)
|
||||||
clean:
|
clean:
|
||||||
@echo " RM " 'wg *.o *.d'
|
@echo " CLEAN $$(pwd)/{wg,*.o,*.d}"
|
||||||
@$(RM) wg *.o *.d
|
@$(RM) wg *.o *.d
|
||||||
else
|
else
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue