From abf37c1c071aae1036c7b2515032ad867a483d48 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Tue, 17 Mar 2009 10:29:44 +0100 Subject: [PATCH] hdt: Making the build silent Impact: Silence the build. It is easier to detect warnings and errors if make doesn't print out the commands before executing them. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile index d6766f3..f0f6642 100644 --- a/com32/hdt/Makefile +++ b/com32/hdt/Makefile @@ -40,11 +40,11 @@ all: $(MODULES) $(LIB) .PRECIOUS: %.o %.o: %.c - $(CC) $(CFLAGS) -std=gnu99 -D__COM32__ -c -o $@ $< + @$(CC) $(CFLAGS) -std=gnu99 -D__COM32__ -c -o $@ $< .PRECIOUS: %.elf %.elf: c32entry.o %.o $(LIB) - $(LD) -Ttext 0x101000 -e _start -o $@ $^ + @$(LD) -Ttext 0x101000 -e _start -o $@ $^ hdt.elf: hdt.o hdt-ata.o hdt-menu.o hdt-menu-pci.o hdt-menu-kernel.o \ hdt-menu-disk.o hdt-menu-dmi.o hdt-menu-processor.o \ @@ -54,26 +54,26 @@ hdt.elf: hdt.o hdt-ata.o hdt-menu.o hdt-menu-pci.o hdt-menu-kernel.o \ hdt-cli-syslinux.o hdt-cli-vesa.o\ hdt-menu-pxe.o hdt-menu-summary.o hdt-menu-vesa.o\ $(LIBS) - $(LD) $(LDFLAGS) -o $@ $^ + @$(LD) $(LDFLAGS) -o $@ $^ %.c32: %.elf - $(OBJCOPY) -O binary $< $@ + @$(OBJCOPY) -O binary $< $@ %.com: %.asm - $(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $< + @$(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $< $(LIB): - rm -f $@ - $(AR) cq $@ $^ - $(RANLIB) $@ + @rm -f $@ + @$(AR) cq $@ $^ + @$(RANLIB) $@ tidy dist: - rm -f *.o *.a *.lst *.elf + @rm -f *.o *.a *.lst *.elf install: all # Don't specify *.com since mdiskchk.com can't be built using Linux tools clean: tidy - rm -f *.o *.c32 *.c~ *.h~ Makefile~ + @rm -f *.o *.c32 *.c~ *.h~ Makefile~ spotless: clean -- 2.7.4