summaryrefslogtreecommitdiff
path: root/src/gallium/Makefile.template
diff options
context:
space:
mode:
authorChris Li <chrisl@vmware.com>2010-02-05 21:25:17 -0800
committerJosé Fonseca <jfonseca@vmware.com>2010-02-09 17:19:30 +0000
commita8f4904fb33f4fe5da560f85ecf003601e0ec06a (patch)
treefa4c2cfd59fbb6684f8095b0219648e5478ae35a /src/gallium/Makefile.template
parent62d1e40e0d672cc84708cd8a99f26ee5917c6aef (diff)
gallium: Adding the %.s rule to generate asm code
Signed-off-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/Makefile.template')
-rw-r--r--src/gallium/Makefile.template3
1 files changed, 3 insertions, 0 deletions
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 $@