Makefile.in (.SUFFIXES): Add .cc.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Wed, 27 Mar 2013 13:20:12 +0000 (13:20 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 27 Mar 2013 13:20:12 +0000 (13:20 +0000)
* Makefile.in (.SUFFIXES): Add .cc.
(.c.o): Apply same recipe for implicit rule .cc.o.

From-SVN: r197162

gcc/ChangeLog
gcc/Makefile.in

index b90cc67..0039342 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * Makefile.in (.SUFFIXES): Add .cc.
+       (.c.o): Apply same recipe for implicit rule .cc.o.
+
 2013-03-27  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/37021
index 54ea04f..b60e1f8 100644 (file)
@@ -48,7 +48,7 @@ MAKEOVERRIDES =
 # This must come before the language makefile fragments to allow them to
 # add suffixes and rules of their own.
 .SUFFIXES:
-.SUFFIXES: .c .o .po .pox .gmo
+.SUFFIXES: .c .cc .o .po .pox .gmo
 
 # -------------------------------
 # Standard autoconf-set variables
@@ -1054,7 +1054,7 @@ INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
           $(CPPINC) $(GMPINC) $(DECNUMINC) $(BACKTRACEINC) \
           $(CLOOGINC) $(ISLINC)
 
-.c.o:
+.cc.o .c.o:
        $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
 
 #\f