diff options
author | Chris Li <[email protected]> | 2010-02-05 21:22:39 -0800 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-02-09 17:19:30 +0000 |
commit | 62d1e40e0d672cc84708cd8a99f26ee5917c6aef (patch) | |
tree | 981cc05917d09d751c03dcc900d6bd8054bdc36f | |
parent | 8b6ec94aec2d0f18a862fd50bfeb2cc89a0d23d3 (diff) |
gallium: Using the proper pattern rules for Makefile template.
The .o.c rule is consider obsolete.
Signed-off-by: José Fonseca <[email protected]>
-rw-r--r-- | 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 136423513c6..35f603a84e0 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 $@ |