summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/cell/spu/Makefile')
-rw-r--r--src/mesa/pipe/cell/spu/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/mesa/pipe/cell/spu/Makefile b/src/mesa/pipe/cell/spu/Makefile
index bf97a49e78..b92a756cd5 100644
--- a/src/mesa/pipe/cell/spu/Makefile
+++ b/src/mesa/pipe/cell/spu/Makefile
@@ -16,15 +16,19 @@ PROG_SPU_EMBED_O = $(PROG)_spu-embed.o
SOURCES = \
- main.c \
- tile.c \
- tri.c
+ spu_main.c \
+ spu_tile.c \
+ spu_tri.c
SPU_OBJECTS = $(SOURCES:.c=.o) \
INCLUDE_DIRS = -I$(TOP)/src/mesa
+.c.o:
+ $(SPU_CC) $(SPU_CFLAGS) -c $<
+
+
# The .a file will be linked into the main/PPU executable
default: $(PROG_SPU_A)
@@ -38,15 +42,6 @@ $(PROG_SPU): $(SPU_OBJECTS)
$(SPU_CC) -o $(PROG_SPU) $(SPU_OBJECTS) $(SPU_LFLAGS)
-main.o: main.c
- $(SPU_CC) $(SPU_CFLAGS) -c main.c
-
-tile.o: tile.c
- $(SPU_CC) $(SPU_CFLAGS) -c tile.c
-
-tri.o: tri.c
- $(SPU_CC) $(SPU_CFLAGS) -c tri.c
-
clean:
rm -f *~ *.o *.a *.d $(PROG_SPU)