From: Brian Paul Date: Mon, 17 Jan 2005 22:33:50 +0000 (+0000) Subject: added rule for compiling C++ sources X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7443c2caa6313bbc1655a41e25a192c8ad88817a;p=mesa.git added rule for compiling C++ sources --- 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 $@