Module: Mesa
Branch: master
Commit: 62d1e40e0d672cc84708cd8a99f26ee5917c6aef
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62d1e40e0d672cc84708cd8a99f26ee5917c6aef

Author: Chris Li <chr...@vmware.com>
Date:   Fri Feb  5 21:22:39 2010 -0800

gallium: Using the proper pattern rules for Makefile template.

The .o.c rule is consider obsolete.

Signed-off-by: José Fonseca <jfons...@vmware.com>

---

 src/gallium/Makefile.template |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template
index 1364235..35f603a 100644
--- a/src/gallium/Makefile.template
+++ b/src/gallium/Makefile.template
@@ -53,13 +53,13 @@ install:
 
 ##### RULES #####
 
-.c.o:
+%.o: %.c
        $(CC) -c $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@
 
-.cpp.o:
+%.o: %.cpp
        $(CXX) -c $(INCLUDES) $(DEFINES) $(CXXFLAGS) $(LIBRARY_DEFINES) $< -o $@
 
-.S.o:
+%.o: %.S
        $(CC) -c $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES)  $< -o $@
 
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to