From 396bb4c3d33dfd68c5817da5e03251fbd82e2713 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Fri, 15 Oct 2004 18:49:27 -0700 Subject: [PATCH] [PATCH] let the extras/ programs build "pretty" also --- Makefile | 1 + extras/scsi_id/Makefile | 5 ++++- extras/volume_id/Makefile | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 890667be..fffc3c4c 100644 --- a/Makefile +++ b/Makefile @@ -185,6 +185,7 @@ all: $(ROOT) $(SENDER) $(DAEMON) $(INFO) $(TESTER) $(WAIT) $(GEN_CONFIGS) LD="$(LD)" \ SYSFS="$(SYSFS)" \ KERNEL_DIR="$(KERNEL_DIR)" \ + QUIET="@$(PWD)/ccdv" \ -C $$target $@ ; \ done ; \ diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile index 7ccc4c51..2f134bcd 100644 --- a/extras/scsi_id/Makefile +++ b/extras/scsi_id/Makefile @@ -72,5 +72,8 @@ clean: spotless: clean +.c.o: + $(QUIET) $(CC) $(CFLAGS) -c -o $@ $< + $(PROG): $(OBJS) - $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS) + $(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS) diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile index 8813f9fc..d0c6e40f 100644 --- a/extras/volume_id/Makefile +++ b/extras/volume_id/Makefile @@ -49,8 +49,11 @@ HEADERS = volume_id.h dasdlabel.h $(OBJS): $(HEADERS) +.c.o: + $(QUIET) $(CC) $(CFLAGS) -c -o $@ $< + $(PROG): $(OBJS) $(HEADERS) - $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS) + $(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS) clean: rm -f $(PROG) $(OBJS) -- 2.39.5