projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b6ec94
)
gallium: Using the proper pattern rules for Makefile template.
author
Chris Li
<chrisl@vmware.com>
Sat, 6 Feb 2010 05:22:39 +0000
(21:22 -0800)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 9 Feb 2010 17:19:30 +0000
(17:19 +0000)
The .o.c rule is consider obsolete.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/gallium/Makefile.template
patch
|
blob
|
history
diff --git
a/src/gallium/Makefile.template
b/src/gallium/Makefile.template
index 136423513c633ebc51b00267e740b1c8a56f578a..35f603a84e01d3b29d63890beba2cb40d8bac10b 100644
(file)
--- 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 $@