Indent and align the quiet build messages more like Linux - improves readability of this great feature even more. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6426 c046a42c-6fe2-441c-8c8c-71466251a162
20 lines
467 B
Makefile
20 lines
467 B
Makefile
|
|
%.o: %.c
|
|
$(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<," CC $@")
|
|
|
|
%.o: %.S
|
|
$(call quiet-command,$(CC) $(CPPFLAGS) -c -o $@ $<," AS $@")
|
|
|
|
%.o: %.m
|
|
$(call quiet-command,$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<," OBJC $@")
|
|
|
|
LINK = $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)," LINK $@")
|
|
|
|
%$(EXESUF): %.o
|
|
$(LINK)
|
|
|
|
%.a:
|
|
$(call quiet-command,rm -f $@ && $(AR) rcs $@ $^," AR $@")
|
|
|
|
quiet-command = $(if $(V),$1,@echo $2 && $1)
|