From 00486210eec6d31c0ef79e4c410c51354756fd5a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 9 Jan 2007 17:46:42 +0000 Subject: [PATCH] Add -MF to GCC invocation to make ccache happy on Fedora Core 6. --- src/Make.config | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Make.config b/src/Make.config index becc474..4dd2eb1 100644 --- a/src/Make.config +++ b/src/Make.config @@ -33,13 +33,14 @@ endif # Compiler and assembler invocation. DEFINES = WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers -CFLAGS = -g -MMD -msoft-float -O +CFLAGS = -g -msoft-float -O CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib -ASFLAGS = -Wa,--gstabs -MMD +ASFLAGS = -Wa,--gstabs LDFLAGS = +DEPS = -MMD -MF $(@:.o=.d) %.o: %.c - $(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS) $(WARNINGS) $(DEFINES) + $(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS) $(WARNINGS) $(DEFINES) $(DEPS) %.o: %.S - $(CC) -c $< -o $@ $(ASFLAGS) $(CPPFLAGS) $(DEFINES) + $(CC) -c $< -o $@ $(ASFLAGS) $(CPPFLAGS) $(DEFINES) $(DEPS) -- 2.11.4.GIT