summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-21 19:25:10 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-21 21:17:20 -0700
commit5a57ffafd623a04b86aea19c000ff4a64c47fd43 (patch)
tree0a9c352149f4a82fb7898d6f5e2fefd020ff7103 /src/mesa/pipe/cell/spu
parentbe92796eb9b0ef35ad84c59ad183863ed2dbe002 (diff)
Cell: added asmfiles rule
Diffstat (limited to 'src/mesa/pipe/cell/spu')
-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)