qemu-e2k/rules.mak
aurel32 b23d3d8f06 Reformat quiet build
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
2009-01-24 15:08:25 +00:00

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)