From 62d1e40e0d672cc84708cd8a99f26ee5917c6aef Mon Sep 17 00:00:00 2001 From: Chris Li Date: Fri, 5 Feb 2010 21:22:39 -0800 Subject: gallium: Using the proper pattern rules for Makefile template. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .o.c rule is consider obsolete. Signed-off-by: José Fonseca --- src/gallium/Makefile.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 $@ -- cgit v1.2.3