Module: Mesa
Branch: master
Commit: a8f4904fb33f4fe5da560f85ecf003601e0ec06a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8f4904fb33f4fe5da560f85ecf003601e0ec06a

Author: Chris Li <chr...@vmware.com>
Date:   Fri Feb  5 21:25:17 2010 -0800

gallium: Adding the %.s rule to generate asm code

Signed-off-by: José Fonseca <jfons...@vmware.com>

---

 src/gallium/Makefile.template |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template
index 35f603a..5d9d2db 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 $@
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to