Mesa (master): gallium: Adding the %.s rule to generate asm code

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Feb 9 17:24:56 UTC 2010


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

Author: Chris Li <chrisl at 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 <jfonseca at 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 $@
 




More information about the mesa-commit mailing list