projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db99b8b
)
added rule for compiling C++ sources
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 17 Jan 2005 22:33:50 +0000
(22:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 17 Jan 2005 22:33:50 +0000
(22:33 +0000)
src/mesa/Makefile
patch
|
blob
|
history
diff --git
a/src/mesa/Makefile
b/src/mesa/Makefile
index 272ecd0a1cd59b3581afc557d6ed122359b025fd..f898795ab5433a7d03e5b656a94721c6c66a26ae 100644
(file)
--- 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 $@