From: Brian Paul Date: Mon, 17 Jan 2005 22:33:50 +0000 (+0000) Subject: added rule for compiling C++ sources X-Git-Tag: 062012170305~23308 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7443c2caa6313bbc1655a41e25a192c8ad88817a;p=profile%2Fivi%2Fmesa.git added rule for compiling C++ sources --- diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 272ecd0..f898795 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 $@