diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-12 10:33:24 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-12 10:33:24 -0700 |
commit | a9a84674726a58c183fe8983321208a32cdf940e (patch) | |
tree | 86280f46cd03acb0e3a6e1319dbd1dffb8c7911d /src/mesa/pipe/cell/spu/Makefile | |
parent | 07276d676c757d3be2e3090d6c67fbbb2f9768eb (diff) |
Cell: prefix SPU sources with spu_
Diffstat (limited to 'src/mesa/pipe/cell/spu/Makefile')
-rw-r--r-- | src/mesa/pipe/cell/spu/Makefile | 19 |
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) |