summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-15 18:49:27 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:02:45 -0700
commit396bb4c3d33dfd68c5817da5e03251fbd82e2713 (patch)
tree86d2c5551af41d7c75be28afdc942c556967c232 /extras
parent125930b45492c315f03d4b7a685d129a67338245 (diff)
[PATCH] let the extras/ programs build "pretty" also
Diffstat (limited to 'extras')
-rw-r--r--extras/scsi_id/Makefile5
-rw-r--r--extras/volume_id/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile
index 7ccc4c5118..2f134bcdbd 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 8813f9fca5..d0c6e40fa3 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)