From a8f4904fb33f4fe5da560f85ecf003601e0ec06a Mon Sep 17 00:00:00 2001 From: Chris Li Date: Fri, 5 Feb 2010 21:25:17 -0800 Subject: gallium: Adding the %.s rule to generate asm code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Fonseca --- src/gallium/Makefile.template | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/Makefile.template') diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template index 35f603a84e..5d9d2db786 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 $@ -- cgit v1.2.3