This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH v3 15/18] make out_object_file rule use automatic dependencies
- From: Tom Tromey <tromey at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: aoliva at redhat dot com, Tom Tromey <tromey at redhat dot com>
- Date: Tue, 20 Aug 2013 07:59:13 -0600
- Subject: [PATCH v3 15/18] make out_object_file rule use automatic dependencies
- References: <1377007156-540-1-git-send-email-tromey at redhat dot com>
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 --git a/gcc/Makefile.in b/gcc/Makefile.in
index b22e8a8..c8b7b65 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2028,15 +2028,9 @@ pass-instances.def: $(srcdir)/passes.def $(srcdir)/gen-pass-instances.awk
$(AWK) -f $(srcdir)/gen-pass-instances.awk \
$(srcdir)/passes.def > pass-instances.def
-$(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) $<
--
1.8.1.4