summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/cell/spu/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/pipe/cell/spu/Makefile b/src/mesa/pipe/cell/spu/Makefile
index b92a756cd5..417ae1b072 100644
--- a/src/mesa/pipe/cell/spu/Makefile
+++ b/src/mesa/pipe/cell/spu/Makefile
@@ -22,12 +22,17 @@ SOURCES = \
SPU_OBJECTS = $(SOURCES:.c=.o) \
+SPU_ASM_OUT = $(SOURCES:.c=.s) \
+
INCLUDE_DIRS = -I$(TOP)/src/mesa
.c.o:
$(SPU_CC) $(SPU_CFLAGS) -c $<
+.c.s:
+ $(SPU_CC) $(SPU_CFLAGS) -S $<
+
# The .a file will be linked into the main/PPU executable
default: $(PROG_SPU_A)
@@ -43,8 +48,11 @@ $(PROG_SPU): $(SPU_OBJECTS)
+asmfiles: $(SPU_ASM_OUT)
+
+
clean:
- rm -f *~ *.o *.a *.d $(PROG_SPU)
+ rm -f *~ *.o *.a *.d *.s $(PROG_SPU)