aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 272ecd0a1cd..f898795ab54 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -11,9 +11,14 @@ GL_MINOR = 5
GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
+.SUFFIXES : .cc
+
.c.o:
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
+.cc.o:
+ $(CXX) -c $(INCLUDE_DIRS) $(CXXFLAGS) $< -o $@
+
.S.o:
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@