From 094c8b9af574d866289102ad42b52e92805bfd8c Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 7 Jul 1995 02:11:27 +0000 Subject: (%.d:%.c %.d:%.S): Repair sed line to include more context. --- Makeconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makeconf b/Makeconf index 60a93201..09874959 100644 --- a/Makeconf +++ b/Makeconf @@ -301,12 +301,12 @@ include $(subst .o,.d,$(OBJS)) /dev/null # Here is how to make .d files from .c files %.d: %.c (set -e; $(CC) $(CFLAGS) $(CPPFLAGS) -M -MG $< | \ - sed -e 's/\.o/& $@/' > $@) + sed -e 's/$*\.o:/$*.o $@:/' > $@) # Here is how to make .d files from .S files %.d: %.S (set -e; $(CC) $(CFLAGS) $(CPPFLAGS) -M -MG $< | \ - sed -e 's/\.o/& $@/' > $@) + sed -e 's/*\.o:/$*.o $@:/' > $@) # .s files don't go through the preprocessor, so we do this # This rule must come *after* the genuine ones above, so that -- cgit v1.2.3