blob: ede341abca463859f612436739e5b83bfd63f0ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Gallium3D Cell driver: PPU code
# This makefile builds the g3dcell.a library which gets pulled into
# the main libGL.so library
TOP = ../../../../..
include $(TOP)/configs/linux-cell
#PROG = gl4
CELL_LIB = libcell.a
SPU_CODE_MODULE = ../spu/g3d_spu.a
OBJECTS = cell_context.o cell_surface.o
INCLUDE_DIRS = -I$(TOP)/src/mesa
.c.o:
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
default: $(CELL_LIB)
$(CELL_LIB): $(OBJECTS) $(SPU_CODE_MODULE)
ar -ru $(CELL_LIB) $(OBJECTS) $(SPU_CODE_MODULE)
#$(PROG): $(PPU_OBJECTS)
# $(CC) -o $(PROG) $(PPU_OBJECTS) $(SPU_CODE_MODULE) $(PPU_LFLAGS)
clean:
rm -f *.o $(CELL_LIB)
|