From 7443c2caa6313bbc1655a41e25a192c8ad88817a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 17 Jan 2005 22:33:50 +0000 Subject: [PATCH] added rule for compiling C++ sources --- src/mesa/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 $@ -- 2.30.2