diff options
author | Brian Paul <[email protected]> | 2005-01-17 22:33:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-01-17 22:33:50 +0000 |
commit | 7443c2caa6313bbc1655a41e25a192c8ad88817a (patch) | |
tree | 0cdd88138d9d570c04f6d58b2fc6861d638e32b2 /src/mesa/Makefile | |
parent | db99b8b29dc392097463e06a6dd5933c1c8f6058 (diff) |
added rule for compiling C++ sources
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r-- | src/mesa/Makefile | 5 |
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 $@ |