From a8f4904fb33f4fe5da560f85ecf003601e0ec06a Mon Sep 17 00:00:00 2001 From: Chris Li Date: Fri, 5 Feb 2010 21:25:17 -0800 Subject: [PATCH] gallium: Adding the %.s rule to generate asm code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: José Fonseca --- src/gallium/Makefile.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template index 35f603a84e0..5d9d2db7866 100644 --- a/src/gallium/Makefile.template +++ b/src/gallium/Makefile.template @@ -53,6 +53,9 @@ install: ##### RULES ##### +%.s: %.c + $(CC) -S $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@ + %.o: %.c $(CC) -c $(INCLUDES) $(DEFINES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@ -- 2.30.2