summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@