diff mbox

[v2,15/18] make out_object_file rule use automatic dependencies

Message ID 1375115069-31143-16-git-send-email-tromey@redhat.com
State New
Headers show

Commit Message

Tom Tromey July 29, 2013, 4:24 p.m. UTC
This is a small change to make out_object_file use automatic
dependencies.

	* Makefile.in ($(out_object_file)): Use COMPILE and POSTCOMPILE.
---
 gcc/Makefile.in | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
diff mbox

Patch

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 47ecaf8..a21daba 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2021,15 +2021,9 @@  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) $<
+	$(POSTCOMPILE)
 
 $(common_out_object_file): $(common_out_file)
 	$(COMPILE) $<