Patchwork [15/18] make out_object_file rule use automatic dependencies

login
register
mail settings
Submitter Tom Tromey
Date July 25, 2013, 8:31 p.m.
Message ID <1374784313-2102-16-git-send-email-tromey@redhat.com>
Download mbox | patch
Permalink /patch/261940/
State New
Headers show

Comments

Tom Tromey - July 25, 2013, 8:31 p.m.
This is a small change to make out_object_file use automatic
dependencies.

	* Makefile.in ($(out_object_file)): Use COMPILE.
---
 gcc/Makefile.in | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

Patch

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 2da93021..b689442 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2017,15 +2017,8 @@  s-bversion: BASE-VER
 
 CFLAGS-toplev.o += -DTARGET_NAME=\"$(target_noncanonical)\"
 
-$(out_object_file): $(out_file) $(CONFIG_H) coretypes.h $(TM_H) $(TREE_H) \
-   $(RTL_H) $(REGS_H) hard-reg-set.h insn-config.h conditions.h \
-   output.h $(INSN_ATTR_H) $(SYSTEM_H) toplev.h $(DIAGNOSTIC_CORE_H) \
-   $(TARGET_H) $(LIBFUNCS_H) $(TARGET_DEF_H) $(FUNCTION_H) $(SCHED_INT_H) \
-   $(TM_P_H) $(EXPR_H) langhooks.h $(GGC_H) $(OPTABS_H) $(REAL_H) \
-   tm-constrs.h $(GIMPLE_H) $(DF_H) cselib.h $(COMMON_TARGET_H) hw-doloop.h \
-   regrename.h
-	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
-		$(out_file) $(OUTPUT_OPTION)
+$(out_object_file): $(out_file)
+	$(COMPILE) $<
 
 $(common_out_object_file): $(common_out_file)
 	$(COMPILE) $<