diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:11:27 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:11:27 +0000 |
commit | 094c8b9af574d866289102ad42b52e92805bfd8c (patch) | |
tree | 85997267c3b26279c9cb53487a9d9f47b0b1e05e /Makeconf | |
parent | 2d638098c4caa975ba790de617a6789a7540963d (diff) |
(%.d:%.c %.d:%.S): Repair sed line to include more context.
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |