summaryrefslogtreecommitdiff
path: root/src/gallium/Makefile.template
diff options
context:
space:
mode:
authorChris Li <chrisl@vmware.com>2010-02-05 21:22:39 -0800
committerJosé Fonseca <jfonseca@vmware.com>2010-02-09 17:19:30 +0000
commit62d1e40e0d672cc84708cd8a99f26ee5917c6aef (patch)
tree981cc05917d09d751c03dcc900d6bd8054bdc36f /src/gallium/Makefile.template
parent8b6ec94aec2d0f18a862fd50bfeb2cc89a0d23d3 (diff)
gallium: Using the proper pattern rules for Makefile template.
The .o.c rule is consider obsolete. Signed-off-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/Makefile.template')
-rw-r--r--src/gallium/Makefile.template6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template
index 136423513c..35f603a84e 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 $@