d880d090c15b43ef7b2e2607117ad7003b7146e7
[mesa.git] / src / gallium / Makefile
1 TOP = ../../..
2 include $(TOP)/configs/current
3
4
5 ifeq ($(CONFIG_NAME), linux-cell)
6 CELL_DIR = cell
7 endif
8
9 ifeq ($(CONFIG_NAME), linux-llvm)
10 LLVM_DIR = llvm
11 endif
12
13 SUBDIRS = softpipe i915simple i965simple failover pipebuffer $(CELL_DIR) $(LLVM_DIR)
14
15
16 default: subdirs
17
18
19 subdirs:
20 @for dir in $(SUBDIRS) ; do \
21 if [ -d $$dir ] ; then \
22 (cd $$dir && $(MAKE)) || exit 1 ; \
23 fi \
24 done
25
26
27 clean:
28 rm -f `find . -name \*.[oa]`