summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/Makefile
blob: d880d090c15b43ef7b2e2607117ad7003b7146e7 (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
TOP = ../../..
include $(TOP)/configs/current


ifeq ($(CONFIG_NAME), linux-cell)
CELL_DIR = cell
endif

ifeq ($(CONFIG_NAME), linux-llvm)
LLVM_DIR = llvm
endif

SUBDIRS = softpipe i915simple i965simple failover pipebuffer $(CELL_DIR) $(LLVM_DIR)


default: subdirs


subdirs:
	@for dir in $(SUBDIRS) ; do \
		if [ -d $$dir ] ; then \
			(cd $$dir && $(MAKE)) || exit 1 ; \
		fi \
	done


clean:
	rm -f `find . -name \*.[oa]`